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: How to add the solver's option in Simulink's s-function
Replies: 9   Last Post: Jan 1, 2013 4:53 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
workaholic

Posts: 51
Registered: 4/21/08
Re: How to add the solver's option in Simulink's s-function
Posted: Feb 9, 2009 2:25 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Actually,my equation is like:

M*dy = f(y).

Although M is nonsingular, but the inv(M) is very complicated, and
when put to the right side,it turns out to be abnormal output of some
of the states stay zero. So I have to use the Mass option in the
odeset.

And f(y) is so complicated a nonlinear equation that I can't draw it
out in Simulink using small nonlinear blocks.So I have to use the s-
function block.

So where to add the options in s-funtion block in Simulink? I looked
up the docs of s-function but it seems that there is no guidance there
for such a case, then how can I do? Is there anyway to convert the
equation to another form?

Thanks in advance!



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.