Plot function cannot work normally

1 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2021-5-14
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 2021-5-14
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

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2021-5-14
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by