building simulink

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

Réponses (2)

Walter Roberson
Walter Roberson le 11 Juin 2011

0 votes

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 le 12 Juin 2011

0 votes

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.

Cette question est clôturée.

Tags

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by