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)?
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!