Problems with ode45

조회 수: 6 (최근 30일)
MIGUEL
MIGUEL 2024년 10월 12일
댓글: Swastik Sarkar 2024년 10월 23일
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
Steven Lord
Steven Lord 2024년 10월 12일
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 2024년 10월 23일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by