Some toolboxes might issue error:
Could not open the specified file
if you use the
~ in the filename for your home directory.
My fix/workaround function
You can use my expanduser() function to workaround this issue with Matlab and Octave old and new.
~ into your home directory on Linux, Mac, Windows