필터 지우기
필터 지우기

App Designer - recover an overwritten app

조회 수: 8 (최근 30일)
Aleksandar Ritan
Aleksandar Ritan 2021년 1월 23일
댓글: Adam Danz 2021년 2월 11일
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
Aleksandar Ritan
Aleksandar Ritan 2021년 2월 11일
@Adam Danz I've set up Dropbox and it's perfect for this project. There's one problem I'm having though. Matlab can't delete temporary folders created inside the Dropbox folder, nor can I save files from within matlab to the dropbox folder. How can I give Matlab the permission to modify the Dropbox folder?
Adam Danz
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 File Name Construction에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by