Green box instead of code upon bad termination
1 view (last 30 days)
Show older comments
Hi everyone,
I hope this question can be addressed quickly as my assignment is due soon. After compiling my code last night and having success, I saved my project and closed everything down for the night. This morning, I ran my code and it essentially froze my computer: I waited ~2min for a response, nothing so I tried opening task manager - nothing after several more minutes. My only option seemed like a hard reset. I load up the project and.. my code is missing. Everything. Instead, I have a single green box in the editor (see attached). What are my options here? Lastly, how do I prevent this from happening again?
Thank you
2 Comments
Rik
on 4 Nov 2021
Look for the auto-save file (the .sav), which might be gone by now. (open it with notepad instead of the Matlab editor) I personally only work on cloud-synced folders for anything important, but that advice is of course too late for you now...
Answers (0)
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!