I'm just going to ask for a really basic question on Matlab which bugs me often when using Matlab.
I sometimes, by accident, delete some chunk of my codes when using Matlab; however, there seems to be no way to undo the deletion or recover those chunks back from my codes.
Is there an undo button or short-cut for deletion of codes?
It's not really a big deal if I cant remember those chunk and write again, but it just seems like a tedious work to do again.
The undo button is on the little toolbar in the top-right corner:
Or you can use Ctrl-Z if you are using the Windows shortcuts.
You could use a source control system (SCM) like git (git-scm.com) to make backups of your code code.
Note: you need to save in between and then add them to your SCM. Or you could do backups automatically with a cron job.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With