738
743
%! vopt = odeset ('Mass', @fmas, 'MStateDependence', 'strong');
739
744
%! vsol = ode78 (@fpol, [0 2], [2 0], vopt);
740
745
%! assert ([vsol.x(end), vsol.y(end,:)], [2, fref], 1e-3);
748
%! [vt, vy] = ode78 (@fpol, [0 2], [2 0], vopt);
749
%! assert ([vt(end), vy(end,:)], [2, fref], 1e-3);
742
751
%! %# test for MvPattern option is missing
743
752
%! %# test for InitialSlope option is missing
744
753
%! %# test for MaxOrder option is missing
747
755
%! warning ('on', 'OdePkg:InvalidArgument');