Re: File not located on MATLAB 'path' but correct path is known by MATLAB
Posted by
Precise Simulation on
URL: http://forum.featool.com/File-not-located-on-MATLAB-path-but-correct-path-is-known-by-MATLAB-tp1037p1038.html
I can't really say why your new Matlab installation is behaving differently, but it seems like the Mathworks have switched up the links, "cd" will change to a directory, and "addpath" will temporarily add a folder to the list of known paths from which to find scripts (Matlab can only run scripts from either the current directory or the ones on the Matlab search paths which can be seen by using the "pathtool" command). If you want to permanently add a folder to this list you can use the "
savepath command or manually add the corresponding addpath command to your "
startup.m file. Further discussion on this and purely Matlab related topic are better suited to the Mathworks specific help forums:
https://www.mathworks.com/matlabcentral/answers/index