1function varargout = ode45(ode,tspan,y0,options,varargin) 2%MATLAB Code Generation Library Function 3 4% Copyright 1984-2014 The MathWorks, Inc. 5%#codegen 6 7% For code generation,{0} requires at least {1,number,integer} inputs. 8% Options corresponding to fewer inputs are not supported. 9eml_invariant(nargin >= 3, ... 10 'Coder:toolbox:RequiresNInputs','ode45',3); 11coder.internal.prefer_const(ode,tspan); 12if nargin < 4 13 options = struct(); 14else 15 coder.internal.prefer_const(options); 16end 17 ;