I want to create a function that finds a specific path in Matlab.
The issue is that the path is variable depending on the versions of my program I am working, so
..../...../v1.1/file.m
or
.../...../v1.2/file.m
I would like to know if there is a function to use for hte variable name. Also if the path is too long and I do not want to write it all, is there a symbol that replaces all the previos part. I mean:
strfind(path,$/v1.1/file.m);
But I am not sure of it.
I would appreciate some help!
regexpandregexprep? - Shai