could not create the new file you may not have permission matlab
6 次查看(过去 30 天)
显示 更早的评论
I am facing this error everytime when i want to create a new funtion in the commend window it shows like this error
could anyone please help me Thanks
0 个评论
回答(1 个)
Kojiro Saito
2019-12-3
Which folder path is your MATLAB's current directory?
You can check by the following command.
pwd
And pleaes check your user account has permission to write a file in it.
You can change the current folder by the following examples. After changing a folder properly, I suppose you have a write permission.
cd C:\YourPath % Windows
cd /home/XXX/ % Linux (XXX is your use account)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!