Problems with ode45

2 Ansichten (letzte 30 Tage)
MIGUEL
MIGUEL am 12 Okt. 2024
Kommentiert: Swastik Sarkar am 23 Okt. 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 Kommentare
Steven Lord
Steven Lord am 12 Okt. 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 am 23 Okt. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by