How do I get a fully qualified path in Matlab/Octave?
May 29, 2012 in Matlab, Octave, Recipes, Shell
You can use this one line function (tested only on Unix like systems): For example, suppose that the current directory is /Users/zuliani/Documents/Temp. Then: octave:1> fullpath(‘.’) ans = /Users/zuliani/Documents/Temp octave:2> fullpath(‘../../Documents/’)
…read more

Recent Comments