Problem with ode45

3 vues (au cours des 30 derniers jours)
Saeed Ahmadzadeh
Saeed Ahmadzadeh le 6 Avr 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 commentaires
Walter Roberson
Walter Roberson le 6 Avr 2019
What is the name of the file that f is stored in?
Saeed Ahmadzadeh
Saeed Ahmadzadeh le 6 Avr 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

Connectez-vous pour commenter.

Réponses (1)

madhan ravi
madhan ravi le 6 Avr 2019
Modifié(e) : madhan ravi le 6 Avr 2019
The name of the file that f is saved should be f.m
  1 commentaire
Saeed Ahmadzadeh
Saeed Ahmadzadeh le 6 Avr 2019
oh great, the problem solved !
Thank you

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by