Faster Simulink if scopes are switched off?

3 views (last 30 days)
My questions concerns a Simulink model that is still being refined. The model contains >20 scopes to make it easy to spot troublesome behavior. When I perform many runs of the model from a script, the scopes are not useful. Should I put them behind a switch (iDebug=1) so that they only execute when the model implementation is being checked? Will 'turning off' the scopes reduce the simulation time?

Accepted Answer

Sean de Wolski
Sean de Wolski on 22 Feb 2012
Will 'turning off' the scopes reduce the simulation time?
Yes.
  5 Comments
K E
K E on 27 Feb 2012
And here is another even more useful list of what to avoid for faster run times, http://www.mathworks.com/matlabcentral/newsreader/view_thread/153867
K E
K E on 6 Mar 2012
And another, even more useful: http://blogs.mathworks.com/seth/2010/10/28/tips-for-simulation-performance/

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!