MATLAB Answers

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

37 views (last 30 days)
Fawad Ali
Fawad Ali on 1 Dec 2019
Answered: Kojiro Saito on 3 Dec 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

  0 Comments

Sign in to comment.

Answers (1)

Kojiro Saito
Kojiro Saito on 3 Dec 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)

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags


Translated by