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

조회 수: 1 (최근 30일)
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.

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Mahith Madhana Kumar
Mahith Madhana Kumar 2021년 4월 26일
Hi,
I got it. I just restarted MATLAB and everything came out fine.
Thanks

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by