FUNCTION REFERENCE

odeplot

ODE output function that plots solution components against t.

ODE output function that plots solution components against t.

Syntax

status = odeplot(t, y, flag)

Pass @odeplot or 'odeplot' as the OutputFcn option in odeset. Plots the

selected components (OutputSel) on the current axes, appending each step.

Example

opts = odeset('OutputFcn', @odeplot); [t, y] = ode45(@(t,y) -y, [0 1], 1, opts); numel(t) > 1   % 1

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.