Plot function cannot work normally

1 view (last 30 days)
As shown in the upload figure,when I used the plot function, I encountered an unusual bug. How can I solve this problem? Thanks~~
  2 Comments
Walter Roberson
Walter Roberson on 14 May 2021
What shows up for
which -all gobjects
If it is something like toolbox/matlab/graphics/objectsystem/gobjects.m only, then you may need to reinstall MATLAB unless you can restore the file to its original version (such as if you have system backups.)
LIU Tao
LIU Tao on 14 May 2021
I have not changed the file: gobjects.m. I want to know the reason for this problem, so that I can avoid it in future use.
>> which -all gobjects
E:\MATLAB Inc\MATLAB 2018B\toolbox\matlab\graphics\gobjects.m

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 14 May 2021
Your file E:\MATLAB Inc\MATLAB 2018B\toolbox\matlab\graphics\gobjects.m is corrupt. You will need to restore it from backup (if you have backup) or reinstall MATLAB

More Answers (0)

Categories

Find more on Graphics Object Programming 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!