MATLAB seems to be remembering the variables and not the new ones
2 次查看(过去 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.
0 个评论
采纳的回答
Steven Lord
2021-4-25
The second input to saveas needs to be a file name not a directory name.
4 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Printing and Saving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!