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)?
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre File Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!