The following code demonstrates this:
Tlim=[0 1]; Y0=[1];odeqn=inline(' mu*Y' ,'t','Y','mu');[t,Y]=ode23(odeqn,Tlim,Y0,[],2);figure(1); plot(t,Y,'-');
This is the error message:
??? Error using ==> inline/feval Not enough inputs to inline function. Error in ==> D:\Applications\Matlab\toolbox\matlab\funfun\private\odearguments.m On line 104 ==> f0= feval(ode,t0,y0,args{:}); Error in ==> D:\Applications\Matlab\toolbox\matlab\funfun\ode23.m On line 157 ==> [neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, args, ...
Best Answer