*.mlapp-file is corrupted after pc-crash. Is there a way to recover it?
3 ビュー (過去 30 日間)
古いコメントを表示
I was working on an app and my pc crashed. After restarting I was not able to open the *.mlapp-file. The response I get from Matlab is the same as in 'Is it possible to recover a corrupted *.mlapp file?'.
I attached the file 'Mapping_Coder_Corrupted.mlapp', which is the version I was working on when the pc crashed. I have also attached an older version 'Mapping_Coder_version_from_standalone_installer.mlapp'. I was able to extract that from the installer for a standalone version I generated earlier. However I am not able to open this one either.
Is there a chance to somehow restore one of the *.mlapp-files or get the code out of the corrupted-files?
0 件のコメント
採用された回答
Gowthami
2022 年 11 月 23 日
Hello Lars,
It is my understanding that your MATLAB App(.mlapp) file was corrupted after a PC crash.
The data may not be permanently lost, and there could be a chance to manually recover the data of a corrupted App(.mlapp) file.
Please follow the steps below to see if you can recover the data:
1. In your Windows temporary folder, look for a file with a name in the format XXXX-XXXX-XXXX-XXXX.
You can find the temporary folder by entering
tempdir
at the MATLAB Command Window.
The file should have the same size in bytes as the corrupted file and should have been created at about the same time as your machine was rebooted.
2. If this temp file can be found, copy it to a safe location and rename it 'mydata.mlapp'. Attempt to open the file in MATLAB. If it works, the data you had been trying to save has been recovered.
3. If this temp file cannot be found, look for a file '*.mlapp.bak' in the same folder as the corrupted file.
If this backup file can be found, this is your data *before* it was saved. Rename this file to '*.mlapp'. At least then, this can recover the data prior to saving.
3 件のコメント
Sai Sandeep Chigurupati
2024 年 5 月 5 日
Hello Gowthami, i too have similar problem and i didnt find any temp file with the same size in temp folder, also no .bak file found, is there any way to recover the file. Iam attaching the file for your reference.Pls let me know.
Sai Sandeep Chigurupati
2024 年 5 月 6 日
This is one of the logfiles in the temp folder generated before system crash, pls check and let me know if this is of any help
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!