i was wrking on matlab when my plot command suddenly stopped working for some reason and give the following message

댓글 수: 5

Walter Roberson
Walter Roberson 2022년 8월 2일
Somehow the code checking for must be graphics object got corrupted. You will need to reinstall matlab unless you can restore the file from backup.
You should probably not be cd to the matlab installation directory
arsal javed
arsal javed 2022년 8월 2일
how can i restore the file from backup
Walter Roberson
Walter Roberson 2022년 8월 2일
Which backup system did you configure on your Windows system? You need to have specifically configured a backup program first.
Microsoft tends to recommend using File History these days, but File History is usually not configured to cover program installation directories. https://www.handyrecovery.com/windows-backup-and-restore/ .
arsal javed
arsal javed 2022년 8월 2일
can u plz tell me what files do i need for backup and how to do it
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.)

댓글을 달려면 로그인하십시오.

 채택된 답변

arsal javed
arsal javed 2022년 8월 10일

0 개 추천

It is solved there was no major ssue during this

추가 답변 (1개)

Image Analyst
Image Analyst 2022년 8월 2일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

제품

릴리스

R2020a

태그

질문:

2022년 8월 2일

답변:

2022년 8월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by