Problems with ode45

2 views (last 30 days)
MIGUEL
MIGUEL on 12 Oct 2024
Commented: Swastik Sarkar on 23 Oct 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 Comments
Steven Lord
Steven Lord on 12 Oct 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 on 23 Oct 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

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!