problem saving a variable
이전 댓글 표시
I am running a long simulation that runs a for loop. For each run of a loop, I save a variable in the same folder. To see where my simulation is, variable is displayed on command window.
There is apparently no error in code but simulation stops somewhere randomly in middle and closes. On Matlab command window I get this error.
an error was encountered while saving the command history matlab
Any idea how it can be fixed. I am using Matlab R2014a
댓글 수: 3
dpb
2014년 5월 25일
Sounds like a good candidate for an actual internal Matlab bug.
Can you build a (hopefully small) test case that reproduces the problem that you can submit to TMW support?
Do you (or a colleague, maybe) have an earlier release that you could run the simulation on to see if it might be release-related?
xplore29
2014년 5월 25일
dpb
2014년 5월 25일
And, of course, show the pertinent code subsection that you suspect of being the issue.
Oh, how many directory entries are there being created in this subdirectory and on which OS? Not sure what/where there are real limitations but certainly it's known that performance begins to suffer when the numbers get into very ranges. Perhaps the problem is a timing one in accessing the directory in such a folder or somesuch.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!