Problem with ode45

2 visualizzazioni (ultimi 30 giorni)
Saeed Ahmadzadeh
Saeed Ahmadzadeh il 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 Commenti
Walter Roberson
Walter Roberson il 6 Apr 2019
What is the name of the file that f is stored in?
Saeed Ahmadzadeh
Saeed Ahmadzadeh il 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

Accedi per commentare.

Risposte (1)

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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by