Why does the simulation of my large Simulink model slow down when I have the Workspace browser open?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Commented: ES
on 28 Nov 2022
I have a very large Simulink model with over 3000 parameters including Simulink Bus Objects initialized to the base workspace, from the model callback functions. When I have the workspace browser open in the MATLAB command window, the model takes a long time to update and after updation, remains at time 't=0' and the 'Running' state for upto 12 minutes.
However, when I close the workspace browser, the model runs at normal speed. I am able to reproduce this issue in R14SP3, R14SP3+ and R2006a on Windows 2000 and Windows XP.
Accepted Answer
MathWorks Support Team
on 18 Oct 2013
There is an issue with the MATLAB Workspace browser in the way that JAVA renders all the base workspace variables when the Workspace browser is open during simulation.
As a workaround, close the MATLAB workspace browser during simulation.
1 Comment
ES
on 28 Nov 2022
Hello Mathworks team, is this issue still present? I use MATLAB 2016B and want to know it the issue exists in R2016B. Thanks.
More Answers (0)
See Also
Categories
Find more on Simulink Environment Customization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!