App Designer - recover an overwritten app
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
While working on two of my apps last night, I accidentally overwrote one of them with another. I didn't notice it until this morning when I opened both apps and the same app opened. Whatsmore, the app that was overwritten took at least 5 days of work, while the app that remained took like 2 hours. Is there a way to restore an overwritten app?
7 Commenti
Adam Danz
il 11 Feb 2021
Crap.... now that you meniton it, I do recall these problems between Matlab and Dropbox.
Temp folders
What function is creating the temporary folders? Usually temporary folders and files don't need backed up and can be stored on your local disk. Matlab's tempdir function returns the name of temporary dir Matlab uses (see how to change temp dir). Mine is 'C:\Users\name\AppData\Local\Temp\'.
Saving files
Saving files to the dropbox folder is a bigger issue. I don't have dropbox on the machine I've been using lately so I can't test it.
Workarounds
Well, you could try a different cloud service. I've used OneDrive and GoogleCloud but I forget if they offer version control. I also use redundent backup services on a server and on a hard drive. GitHub is a main player in version control, too.
I found this Tweet (first time I've used twitter to reference Matlab advice) suggesting to toggle the Dropbox syncing state when using Matlab and now I recall that this is what I did as well. Pro: it solves the problem. Con: If wont' backup your files until you turn the sync back on.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/516897/image.png)
Risposte (0)
Vedere anche
Categorie
Scopri di più su File Name Construction in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!