Problems with ode45
Show older comments
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
Star Strider
on 12 Oct 2024
Plesae be more specific.
It would be best to provide a code example that illustrates what you want to do, and describe the problem you are having with it when you run it.
I understand that sometimes it may be difficult to describe coding problems, however as written your question makes no sense.
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
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
Answers (0)
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!