www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/SetAndUpdateODEOptionsExample.m
%% Set and Update ODE Options % Create an options structure that contains values for |RelTol| and % |AbsTol|. options = odeset('RelTol',1e-8,'AbsTol',1e-10); %% % Update the value of |AbsTol| in the existing options structure. options = odeset(options,'AbsTol',1e-9)