Solver output properties

The solver output properties allow one to control the output that the solvers generate. MATCONT detects whether extra output is needed by looking at the number of open output windows (2D, 3D or numeric). If extra output is required, MATCONT sets the OutputFcn property to the output function, integplot which is passed to an ODE solver by options = odeset('OutputFcn', @integplot), otherwise it is set to the function integ_prs. The output function must be of the form status = integplot(t, y, flag, $p_1$, $p_2$,...). The solver calls this function after every successful integration step with the following flags. Note that the syntax of the call differs with the flag. The function must respond appropriately: Setting the OutputFcn property to the output function, integ_prs, reduces the output time. It only allows to interactively pause, resume and stop the integration.