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)?
이전 댓글 표시
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!