How to pass a parameter to and events for stopping an ODE solver
1 view (last 30 days)
Show older comments
I would like to pass a parameter to the events function that I am using for stopping an ODE solver. I try function [value, isterminal,direction]=Pin_Sep(t,y,C,P) and options=odeset('Events',@Pin_Sep);
I get a "Too many input arguments" error
0 Comments
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!