Problem with ode45

2 views (last 30 days)
Saeed Ahmadzadeh
Saeed Ahmadzadeh on 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 Comments
Walter Roberson
Walter Roberson on 6 Apr 2019
What is the name of the file that f is stored in?
Saeed Ahmadzadeh
Saeed Ahmadzadeh on 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

Sign in to comment.

Answers (1)

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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!