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

回答(1 个)

Torsten
Torsten 2015-11-10

0 个投票

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

2 个评论

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

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息

标签

提问:

MJS
2015-11-10

评论:

2015-11-10

Community Treasure Hunt

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

Start Hunting!

Translated by