could not create the new file you may not have permission matlab

6 visualizaciones (últimos 30 días)
Fawad Ali
Fawad Ali el 1 de Dic. de 2019
Respondida: Kojiro Saito el 3 de Dic. de 2019
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

Respuestas (1)

Kojiro Saito
Kojiro Saito el 3 de Dic. de 2019
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)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by