Error writing "file.m" Acess is denied message when I try to save or run a script.

Hi,
I am currently working with a Matlab script. However, when I try to save it or run it I get the message "access is denied" and nothing happens. My chosen path is a folder on my desktop, NOT Program Files and when I type "cd" in the command window the current directory is my desktop. I have also allowed the Matlab.exe file through Windows Defender.
Does anyone know how to fix this? I have an exam in 10 days that requires me to use Matlab.

 Respuesta aceptada

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by