The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: How to add the solver's option in Simulink's s-function
Replies: 10   Last Post: Oct 1, 2015 4:32 AM

Advanced Search

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

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

On 2?9?, ??3?25?, workaholic <> wrote:
> 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!

Can I utilize the level 2 m-function? Can it help?

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.