ode45, Please tell me how to fix this?

1 visualización (últimos 30 días)
Himal Bista
Himal Bista el 1 de Mzo. de 2021
Editada: Jan el 1 de Mzo. de 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 comentario
KALYAN ACHARJYA
KALYAN ACHARJYA el 1 de Mzo. de 2021
Please attach the code, not a screenshot? or Insert line of the code in the question use alt+Enter.

Iniciar sesión para comentar.

Respuestas (1)

Jan
Jan el 1 de Mzo. de 2021
Editada: Jan el 1 de Mzo. de 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.

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by