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: 22
Registered: 3/24/06
Re: How to add the solver's option in Simulink's s-function
Posted: Jan 1, 2013 4:53 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

There is a solution but it is undocumented.

In MdlMassMatrixFcn you can set a mass matrix using ssSetMassMatrix.

Unfortunately looking for those keywords in Google only results in finding my unanswered questions regarding this topic.


workaholic <> wrote in message <>...
> On 3=D4=C24=C8=D5, =C9=CF=CE=E74=CA=B153=B7=D6, "CSB" <
> m> wrote:

> > workaholic <> wrote in message <d980f636-ee56-4f99-817a-=
> > > On 2=3DD4=3DC224=3DC8=3DD5, =3DCF=3DC2=3DCE=3DE79=3DCA=3DB111=3DB7=3DD6=
> , "CSB" <cbrund...@hotmail.c=3D
> > > om> wrote:
> > > > Did you ever solve this issue?
> >
> > > > I'm also interested in being able to set the ode options in a simulin=
> k mo=3D
> > > del.
> >
> > > I don't know whether it works, I multiply the mass matrix in the s-
> > > function 's derivative function output, since I guess the s-functionn
> > > may use the derivate step by step to solve the ode equation, until now
> > > I have not found any way to add the ode option yet

> >
> > Thanks. I've confirmed with MATLAB support that those ODE options are no=

> t available in Simulink. Apparently, they are completely different impleme=
> ntations from the ODE solvers in MATLAB.
> Then what is your solution?

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.