Info

此问题已关闭。 请重新打开它进行编辑或回答。

building simulink

1 次查看(过去 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