Problem with ode45

2 Ansichten (letzte 30 Tage)
Saeed Ahmadzadeh
Saeed Ahmadzadeh am 6 Apr. 2019
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 Kommentare
Walter Roberson
Walter Roberson am 6 Apr. 2019
What is the name of the file that f is stored in?
Saeed Ahmadzadeh
Saeed Ahmadzadeh am 6 Apr. 2019
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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

madhan ravi
madhan ravi am 6 Apr. 2019
Bearbeitet: madhan ravi am 6 Apr. 2019
The name of the file that f is saved should be f.m
  1 Kommentar
Saeed Ahmadzadeh
Saeed Ahmadzadeh am 6 Apr. 2019
oh great, the problem solved !
Thank you

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by