Saving binary file consistently fails - anyone know the reason?

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Programming 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by