Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Warning in the command window when starting simulation
Replies: 1   Last Post: Feb 27, 2013 12:34 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Phil Goddard

Posts: 351
Registered: 1/27/12
Re: Warning in the command window when starting simulation
Posted: Feb 27, 2013 12:34 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

What version of MATLAB and Simulink are you using?
If it's R12 then that's 10+ years old by now, and there is no feature ModeIterationsInAlgLoops in more recent versions.

> 1) How can I do the thing that the warning wants me to do?

Note that there is a typo in the error message -- it is missing an opening parenthesis.
To get it to work do the following at the MATLAB command line
>> feature('ModeIterationsInAlgLoops',0);

> 2) How does using feature 'ModeIterationsInAlgLoops',0) helps suimulation to excecute better?

It doesn't necessarily.
It just stops Simulink trying to use the algebraic loop solver introduced in R12 in favour of using the "older" one used in R11.
Someone who had a model in R11 and wanted to try using it in R12 might be surprised that they get different results.
This enables them to turn off one of the changes in the "newer" version to see if it is the reason for them getting different results.

Phil.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.