필터 지우기
필터 지우기

Saving binary file consistently fails - anyone know the reason?

조회 수: 2 (최근 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 CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by