Problem with ode45

3 次查看(过去 30 天)
Saeed Ahmadzadeh
Saeed Ahmadzadeh 2019-4-6
Hi
I need to solve a first order differential system, with three differential equations.
So I created 2 M-files, like the followings:
1.PNG
1.PNG
But when I complie the M-files, I get the following error:
Capturedsd.PNG
can someone help me ?
Thank you in advance
  2 个评论
Walter Roberson
Walter Roberson 2019-4-6
What is the name of the file that f is stored in?
Saeed Ahmadzadeh
Saeed Ahmadzadeh 2019-4-6
f is stored in the M-file: Aufgabe_1_function
and both the M-files are saved in the same folder !
PS: my Matlab version is 2013a

请先登录,再进行评论。

回答(1 个)

madhan ravi
madhan ravi 2019-4-6
编辑:madhan ravi 2019-4-6
The name of the file that f is saved should be f.m

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by