plot command not working
18 views (last 30 days)
Show older comments
i was wrking on matlab when my plot command suddenly stopped working for some reason and give the following message
5 Comments
Walter Roberson
on 2 Aug 2022
C:\Program Files\MATLAB\R2020a\toolbox\matlab\validators\+matlab\+internal\+validation\mustBeValidGraphicsObject.m
is the name of the file you need to restore.
I cannot tell you how to do the restore until you tell me which backup program you configured for your system.
MATLAB does not automatically back up files, and MS Windows does not automatically back up files either (not without being configured.)
Accepted Answer
More Answers (1)
Image Analyst
on 2 Aug 2022
Try just uninstalling and reinstalling MATLAB.
Then I wouldn't make my projects folder under the MATLAB 2020 folder like you did. I'd just have a separate folder like D:\MATLAB Projects or something like that. In there have all your scripts, or have subfolders for projects if you have a bunch of files that are all related to one specific project, like D:\MATLAB Projects\FaceRecognition or D:\MATLAB Projects\Fruit Identification or whatever.
0 Comments
See Also
Categories
Find more on Startup and Shutdown 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!