how to get rid of the error like "unable to create new file you may not have permission " on my current folder?

6 visualizzazioni (ultimi 30 giorni)
how to get rid of the error like "unable to create new file you may not have permission " on my current folder?

Risposta accettata

Walter Roberson
Walter Roberson il 6 Nov 2018
  • cd to a different folder, or
  • use your operating system facilities to give yourself permission to write into that folder, or
  • in Windows, Run As Administrator. For Linux and Mac, using sudo to run MATLAB is not equivalent, because sudo will change your user identity and MATLAB will say that you are not an authorized user, or
  • if your directory is underneath where programs are installed in Windows then there is a way to disable that Windows protection feature
Of these, only cd to a different directory is recommended, but there are cases where sometimes adjusting the security settings is the necessary solution.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by