Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

building simulink

조회 수: 2 (최근 30일)
Oyewale Oyelami
Oyewale Oyelami 2011년 6월 11일
마감: MATLAB Answer Bot 2021년 8월 20일
i need a step by step guide on building a model that used variable step solver. I have erros like ode45 not found using rtw. Thanks

답변 (2개)

Walter Roberson
Walter Roberson 2011년 6월 11일
None of the ode solvers are supported by RTW. You would need to create your own solver, which is difficult to get right and is unlikely to operate in "real time".

Kaustubha Govind
Kaustubha Govind 2011년 6월 12일
As stated on this page:
If you plan to generate code from your model and run the code on a real-time computer system, choose a fixed-step solver to simulate the model because you cannot map the variable-step size to the real-time clock.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by