ode23s problem with input arguments
Mostrar comentarios más antiguos
I always seem to have difficulty understanding how to arrange input arguments for a system with two differential equations.
The error codes that I am receiving are that I have
1) Too many input arguments
2) Error in odearguments (line 90) f0 = feval(ode,t0,y0,args{:}); % ODE15I sets args{1} to yp0.
3) Error in ode23s (line 121) = odearguments(FcnHandlesUsed, solver_name, ode, tspan, y0, options, varargin);
Thank you for the help and I wish to understand how to debug this error.
Respuesta aceptada
Más respuestas (1)
Matthew Tom
el 2 de Mzo. de 2019
0 votos
1 comentario
Asad Mirza
el 2 de Mzo. de 2019
Ah yes I know those well. Even though MATLAB is intelligent sometimes at the end of the day we have to make the judgement call on its suggestions. In this case it was one where ignoring MATLAB's suggestions would have saved you some time.
Glad to see your issue was fixed!
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

