Effacer les filtres
Effacer les filtres

problem saving a variable

8 vues (au cours des 30 derniers jours)
xplore29
xplore29 le 25 Mai 2014
Commenté : dpb le 25 Mai 2014
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 commentaires
xplore29
xplore29 le 25 Mai 2014
Given what goes inside the loop, its hard to find smaller test case for the sake of reproduction. But I think I can try running on earlier release to check if its release-related.
Thankyou for suggesting this.
dpb
dpb le 25 Mai 2014
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Scope Variables and Generate Names dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by