'-v7.3' saving suddenly broken?

6 ビュー (過去 30 日間)
Lisa Krainz
Lisa Krainz 2021 年 7 月 28 日
コメント済み: Lisa Krainz 2021 年 7 月 28 日
Hello,
I have been using the command save(filename,variables,'-v7.3') for a long time to save bigger variables. Those are stored to analyse them afterwards.
After a month of not using Matlab at all, suddenly '-v7.3' seems to produce only corrupted files as indicated by the following simple test:
a=1;
save('a','a','-v7.3')
load('a')
a
results in:
Error using load
Unable to read MAT-file
\filepath*\a.mat.
Not a binary MAT-file. Try load -ASCII to read as text.
* I do not want to put the whole private filepath here. But I checked it, it is correct and the file 'a.mat' is indeed present there.
while:
a=1;
save('a','a')
load('a')
a
works fine and results in:
a =
1
Dragging the '-v7.3' file into matlab with the mouse or selecting it from the "current folder" tap also delivers the same error message.
So the question is now "how to fix this?". I would be glad for any suggestions what goes wrong here!
Best
  6 件のコメント
Walter Roberson
Walter Roberson 2021 年 7 月 28 日
These days, most of the people i see reporting these kinds of issues, seem to be using OneDrive. That could be Sample Bias: perhaps a lot more people are using OneDrive rather than it being inherently less stable.
Lisa Krainz
Lisa Krainz 2021 年 7 月 28 日
We use a huge local in-house network, but I don't know any details, because I am only a user. Personally I do not trust OneDrive or any other Cloud storage, that was not specifically selected or hosted by myself.

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

回答 (0 件)

カテゴリ

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

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by