Problem with ode45

3 ビュー (過去 30 日間)
Saeed Ahmadzadeh
Saeed Ahmadzadeh 2019 年 4 月 6 日
コメント済み: 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
  1 件のコメント
Saeed Ahmadzadeh
Saeed Ahmadzadeh 2019 年 4 月 6 日
oh great, the problem solved !
Thank you

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by