How to solve a system of ODE in Simulink?

조회 수: 2 (최근 30일)
Iurii Storozhenko
Iurii Storozhenko 2021년 5월 13일
답변: Fangjun Jiang 2021년 5월 13일
Hello everyone! I have a wind turbine gearbox model developed as a MATLAB script. The dynamic model is complicated with 30 degrees of freedom. My question is, what is the best way to include this model in Simulink?
I have found following solutions:
  1. To develop gearbox model with blocks in Simulink;
  2. To use level-2 s-function to include code into the Simulink.
How do you think which way is better? Maybe there is another solution, which i do not know about? For me the second option is more preferable, but I am not sure how to realize it. The first option is easy to implement if we do not have that many degrees of freedom, but in my case it is to difficalt. Any suggestions highly appreciated. Thank you!

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2021년 5월 13일
If the model has already been developed in MATLAB, you could use the MATLAB Function block

카테고리

Help CenterFile Exchange에서 Event Functions에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by