Terminate ODE() when a condition is true

JensSimon j.s.strom at hslmg.de
Fri Sep 10 10:50:02 CEST 2010


Hallo Scilab friends,
Does anyone know a way with ode() to stop the solution of the differential
equation (or of a system) when a certain condition is met (e.g. if a state
variable y in ydot=f(t,y) passes zero)?  Of course the results before that case
should be available to the calling script.
Kind regards, Jens




More information about the users mailing list