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

回答(1 个)

Kojiro Saito
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)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by