Why does the SAVEAS function return an "Invalid or missing path" error when I specify a directory name which has the same name as a built-in function in MATLAB 6.5 (R13)?
Show older comments
For example, create a directory whose name is "norm", then type at the MATLAB command prompt:
gcf;
saveas(gcf,'norm/A.png');
This produces the error:
>>??? Error using ==> saveas
Invalid or missing path: norm/A.png
Now enter the commands:
saveas(gcf,'nor/A.png');
dir nor
This produces the result
>> . .. A.png
The file was succesfully saved.
Accepted Answer
More Answers (0)
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!