Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

building simulink

2 Ansichten (letzte 30 Tage)
Oyewale Oyelami
Oyewale Oyelami am 11 Jun. 2011
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (2)

Walter Roberson
Walter Roberson am 11 Jun. 2011
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 am 12 Jun. 2011
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.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by