App Designer - recover an overwritten app
8 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Adam Danz
2021 年 2 月 11 日
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)
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で File Name Construction についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!