File does not exist error
17 次查看(过去 30 天)
显示 更早的评论
I would please like to know what to do when I am trying to open an m-file and it displays the following message:

Moreover when I then try to open the file directly in the folder it displays this messages
Error using cd
4 个评论
Walter Roberson
2019-5-11
There is a possibility that it would work if you renamed the directories so that there is no space in the name.
However I suspect that instead you might have permission problems. Experiment with starting matlab with Run As Administrator. If you are able to access the directory with that, then you have a permission problem and need to use File Explorer to examine the security settings on the directories to check ownership and permissions.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!