MATLAB seems to be remembering the variables and not the new ones

2 visualizaciones (últimos 30 días)
Hi all,
I was running MATLAB and all of a sudden its popped up an error that has to do with a variable that is commented out. Below is the screenshot of the error where you could see that the variable "filename" which has been commented out is throwing up error. I do not know what is hapening and any help would be appreciated.
MATLAB VERSION - R2020b
OS - Windows 10
Thank you.

Respuesta aceptada

Steven Lord
Steven Lord el 25 de Abr. de 2021
The second input to saveas needs to be a file name not a directory name.
  4 comentarios
Mahith Madhana Kumar
Mahith Madhana Kumar el 25 de Abr. de 2021
Yes. Its woking now but some images are not visible this time while some are as shown.
Walter Roberson
Walter Roberson el 25 de Abr. de 2021
Not enough information about what you are doing :(

Iniciar sesión para comentar.

Más respuestas (1)

Mahith Madhana Kumar
Mahith Madhana Kumar el 26 de Abr. de 2021
Hi,
I got it. I just restarted MATLAB and everything came out fine.
Thanks

Categorías

Más información sobre Get Started with MATLAB 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