ode45, Please tell me how to fix this?

1 Ansicht (letzte 30 Tage)
Himal Bista
Himal Bista am 1 Mär. 2021
Bearbeitet: Jan am 1 Mär. 2021
How can I fix this error?
Error:
Error using ode45
Too many input arguments.
Error in HW_ode45 (line 6)
[t,X]=ode45(@dx_eqns,[Ti Te],Xi);
  1 Kommentar
KALYAN ACHARJYA
KALYAN ACHARJYA am 1 Mär. 2021
Please attach the code, not a screenshot? or Insert line of the code in the question use alt+Enter.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jan
Jan am 1 Mär. 2021
Bearbeitet: Jan am 1 Mär. 2021
Did you save one of your functions as "ode45.m" file? Check this in the command window:
which ode45 -all
If you find a user-defined file in this list, rename this file to avoid shadowing the built-in function ode45.

Community Treasure Hunt

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

Start Hunting!

Translated by