Saving binary file consistently fails - anyone know the reason?

1 Ansicht (letzte 30 Tage)
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...

Akzeptierte Antwort

Simon Parten
Simon Parten am 22 Mär. 2017
It could be that setting flag -v7.3 holds the answer to this problem...

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by