event function for ode45

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

"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)

Products

Asked:

on 17 Dec 2013

Commented:

on 18 Dec 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!