MATLAB Answers

event function for ode45

4 views (last 30 days)
amin rasoulof
amin rasoulof on 17 Dec 2013
Commented: Walter Roberson on 18 Dec 2013
I using ode45 and want to stop integration by event function when the solution hits zero. What I need is event function to return ME a "flag" . That means whenever event sends a stop sign to ode45 to stop, this stop sign (whatever it is) is sent to me as well.
thanks

  1 Comment

Walter Roberson
Walter Roberson on 18 Dec 2013
"ME" and "me" meaning you the person? Are you asking that you be sent an email message if ode45 encounters the stop signal? If not, then what mechanism were you proposing for "sent to me" ?

Sign in to comment.

Answers (0)

Sign in to answer this question.

Products