MATLAB function faces issue when running it with large number of variables in workspace
2 views (last 30 days)
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.