How can I fix this "The "FixedStepDiscrete" solver cannot be used to simulate block diagram,because it contains continuous states"

103 次查看(过去 30 天)
The "FixedStepDiscrete" solver cannot be used to simulate block diagram because it contains continuous states. I am using TI Hardware TMS320 F28335.

采纳的回答

Sebastian Castro
Sebastian Castro 2015-10-5
You should replace any continuous-time blocks with states (e.g. Integrator, Transfer Fcn, PID Controller, etc.) with their discrete-time equivalents.
I believe there is a check in Model Advisor that can help find these for you. It is under By Task > Modeling Standards for MAAB > Simulink > Check for blocks not recommended for C/C++ production code deployment.
- Sebastian

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Component-Based Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by