ODE 45 too many input arguments

I am working on this code and i can not find any reason as to why this error appears when I run it.
Error using ode45 Too many input arguments.
Error in ode45 (line 10) [t,y]=ode45(@rhs,[VV], [0;0],[]); Any help would be great. thanks

Risposte (1)

Torsten
Torsten il 10 Nov 2015

0 voti

Use
[t,y]=ode45(@rhs,[VV],[0 0]);
Best wishes
Torsten.

2 Commenti

MJS
MJS il 10 Nov 2015
I input that code just as you have it and it still gave me the same error. Any idea on how to fix it?
Torsten
Torsten il 10 Nov 2015
[t,y]=ode45(@rhs,VV,[0 0]);
Best wishes
Torsten.

Accedi per commentare.

Categorie

Scopri di più su Programming in Centro assistenza e File Exchange

Tag

Richiesto:

MJS
il 10 Nov 2015

Commentato:

il 10 Nov 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by