Problems with ode45

4 visualizaciones (últimos 30 días)
MIGUEL
MIGUEL el 12 de Oct. de 2024
Comentada: Swastik Sarkar el 23 de Oct. de 2024
Hi everyone,
I´m having troubles with function ode45. It seems like it doesn't have a function I don't know why, because all the other ode functions have their corresponding function right next to them (as for example ode113), but when it comes to use ode 45, there is a blank space next to it when going to write it, and an error occurs when executing. I have tried to reinstall the program several times, just with Matlab and simulink the two things that ask me for in my degree. Does anyone know any way to solve it? Thanks.
  3 comentarios
Steven Lord
Steven Lord el 12 de Oct. de 2024
I second Star Strider's suggestion that we're going to need to see some code in order to offer you any concrete suggestions.
But if you're using release R2024b or later, the Solve ODE Live Editor Task may be of interest to you. It offers a UI that helps you define and solve your ODE without worrying about the syntax of the ODE solver function and it generates code that you can read through to learn how it called the solver.
Swastik Sarkar
Swastik Sarkar el 23 de Oct. de 2024
It seems the reference is to MATLAB's feature that offers suggestions when a function name is partially entered. Running the following code can help reset the path and toolbox cache:
restoredefaultpath
rehash toolboxcache

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by