MATLAB seems to be remembering the variables and not the new ones
1 view (last 30 days)
Show older comments
Mahith Madhana Kumar
on 25 Apr 2021
Answered: Mahith Madhana Kumar
on 26 Apr 2021
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.
0 Comments
Accepted Answer
Steven Lord
on 25 Apr 2021
The second input to saveas needs to be a file name not a directory name.
4 Comments
More Answers (1)
See Also
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!