odeplot
- :
status =odeplot(t, y, flag)¶ Output function for the ODE solvers that plots the solution while it is being computed. Use it through
odeset:opts = odeset ("OutputFcn", @odeplot);With flag equal to
"init", t holds the start and end time and y the initial state; one animated line per component is started. With an empty flag, new times t and the rows of y are appended. With"done"the animation handles are finalized. status is 0 unless a Stop control has been pressed (always 0 in this implementation).