필터 지우기
필터 지우기

How do I find out the ODE function that the solver in Simulink uses?

조회 수: 2 (최근 30일)
ml Lin
ml Lin 2015년 8월 13일
댓글: ml Lin 2015년 8월 18일
I would like to find out the ODE function that the "ode45 (Dormand-Prince)" solver in Simulink uses. When I call the MATLAB function "ode45", the input argument requests for a ODE function that describes the system.
However in Simulink, it doesn't tell me the ODE function it uses. Is there any way to find out?

답변 (1개)

Sainath Varikuti
Sainath Varikuti 2015년 8월 17일
Hi Lin,
In Simulink a dynamic system is represented as states. Therefore, it is not possible to get the mathematical representation of ODE function directly. However, you can obtain the state-space representation of Simulink model using Simulink Control Design as discussed here . The state-space object will give us the system dynamics.
Regards,
Sainath.
  댓글 수: 1
ml Lin
ml Lin 2015년 8월 18일
Hi Sainath,
Thanks for the reply. I see. But how does Simulink compute the states during every iteration without knowing the mathematical representation of the ODE?
What I don't understand is that, for Simulink to obtain the state space representation, wouldn't it need to know the system dynamics first?
Or is there some technique involve that I am not aware of?
Regards, Lin

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

카테고리

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