Problem with ode45

조회 수: 2 (최근 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 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