Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
convertRelativeToAbsolutePath.m File Reference

convert relative path into absolute path, where the part of the relative path containing text template (templateText) will be replaced with the abosolute path More...

Functions

function result = mibGetMibVersionNumberic (relativePath, absolutePath, templateText)
 convert relative path into absolute path, where the part of the relative path containing text template (templateText) will be replaced with the abosolute path
 

Detailed Description

convert relative path into absolute path, where the part of the relative path containing text template (templateText) will be replaced with the abosolute path

Function Documentation

◆ mibGetMibVersionNumberic()

function result = mibGetMibVersionNumberic ( relativePath,
absolutePath,
templateText )

convert relative path into absolute path, where the part of the relative path containing text template (templateText) will be replaced with the abosolute path

Parameters
relativePathstring with the relative path, for example "[RELATIVE]\..\..\dir1\subdir1"
absolutePathstring with the absolute path, for example "c:\myfiles\dir2\subdir2"
templateTextstring with the template text to be inserted instead of the relativePath, for example "[RELATIVE]"

@ Note: The reverse operation is done using convertAbsoluteToRelativePath function