Saving binary file consistently fails - anyone know the reason?

1 回表示 (過去 30 日間)
Simon Parten
Simon Parten 2017 年 3 月 22 日
回答済み: Simon Parten 2017 年 3 月 22 日
Can anyone answer why this operation may consistently produce the following;
save('theResult', 'simResult');
Error using save
Error closing file R:\sp\Testing\ANALYSIS\PRICING\theResult.mat.
The file may be corrupt.
What are the conditions under which one may expect the 'save' function to fail? I will admit 'theResult' is a fairly complex object. but I had no problem at smaller scales. The save docs don't indicate any obvious limitation, and the error message is fairly opaque. Given that the size of the file it produces is about 1Kb, and the failure is immediate, I don't think there was a problem closing the file, but rather a problem doing anything.
Any feedback would be helpful. It would be helpful to understand why...

採用された回答

Simon Parten
Simon Parten 2017 年 3 月 22 日
It could be that setting flag -v7.3 holds the answer to this problem...

その他の回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by