Unable to write to file, because it appears to be corrupt.

8 ビュー (過去 30 日間)
Polina
Polina 2024 年 7 月 4 日
コメント済み: Polina 2024 年 7 月 5 日
I am doing a long calculations and they keep being interrupted constantly at random (as i assume) places. When re-running the code to save the ""corrupted" file once again, it without any problem. then, the problem repeats itself further down the file numbers. Due to the fact that the file is saved after re-running of the code, i assume it wasn't corrupted in the first place. So i don't really know what exactly the problem is. Would appreciate some help or suggestions. thanks!
  4 件のコメント
Walter Roberson
Walter Roberson 2024 年 7 月 4 日
I save the files to my lab server
That is a bit ambiguous.
If it happens to mean that you are using a remote filesystem to save the files, then you might be encountering a glitch in the remote filesystem. Best practice is to always write files locally, and then copy the completed file to the remote server.
Polina
Polina 2024 年 7 月 5 日
Hm, will try that, although I am not sure it will work memory-wise. But we will see. Thank you!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by