Script doesn't show

36 Ansichten (letzte 30 Tage)
Abdul Muqeet
Abdul Muqeet am 14 Apr. 2021
Kommentiert: Chin Hsien Cheng am 11 Nov. 2025 um 3:29
I was working on an assignment on MATLAB and wrote a function script in the editor and saved it as .m file. The next day I open the file and the script was gone. This is the second time it has happened. How do I recover the script?
  3 Kommentare
Thomas Jensen
Thomas Jensen am 14 Apr. 2021
Hi Abdul,
I had a similar issue some time ago and it was related to the synchronization of the cloud drive where I was saving the files. When I started to save the files in the local drive I never faced the same issue again.
Chin Hsien Cheng
Chin Hsien Cheng am 11 Nov. 2025 um 3:29
just now i faced the same problem after i uninstall another version of Matlab. The code script disappeared was what I still work on last night. Fortunately, I found the same code with .asv and copy-paste back to the .m file...

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Monisha Nalluru
Monisha Nalluru am 19 Apr. 2021
The issue could be with the location and operating system synchronization. In order to recover the scripts you can follow these steps.
In case you lost your work due to abnormal termination, follow the tips provided in the page below:
If this does not help, it is possible restore previous versions of your files if your operating system has saved them. To do this, try the following articles:
Alternatively, you can see if your system saved a .bak file:
If your system has not saved any past versions of your file, it is not worth spending further time trying to recover it.

Kategorien

Mehr zu System Commands finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by