MATLAB function faces issue when running it with large number of variables in workspace

1 vue (au cours des 30 derniers jours)
Hello! I am using symbolic toolbox for computation. At the time of execution of the MATLAB script, the workspace is heavily loaded(90 MB) due to long list of variables involved in the computation. So when I try to run the script in the first attempt, the script runs fine and stops at the error encountered at the later lines of the code(I am also debugging)(at k= 12 which I debugged now) . However, when I am trying to run the script again after fixing the bug, it shows error in the initial lines (at k=3) which it had run successfully in the first run. Is this an issue of the heavily loaded workspace? and how can I get around it?
Also, I have tried running the initial lines of the script separately in a parallel computation window of MATLAB and it works fine.
  1 commentaire
Guillaume
Guillaume le 27 Juil 2018
90 MB doesn't sound like much.
it shows error. You don't show us the code and don't tell us what the error is. That's not much to go on. Give us the full text of the error message. Everything in red. And attaching your script would also be useful.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by