How to run a nonlinear state-space model on xPC target?
1 view (last 30 days)
Show older comments
Hi, I used a nonlinear grey-box model (idnlgrey) previously for simulation purposes. Now, I need to compute it on xPC target but idnlgrey seems to be unsupported by Simulink Coder. How can an idnlgrey block can be converted to be computed in discrete time on xPC target? Thanks, Guillaume
0 Comments
Answers (1)
Arkadiy Turevskiy
on 8 Oct 2013
Unfortunately code generation for idnlgrey models is not currently supported. I have created the enhancement request for this.
A workaround (obviously non ideal) is to describe nonlinear dynamics using basic Simulink block, and then use parameter estimation capability of Simulink Design Optimization to estimate parameter values. The resulting model will be "calibrated" with measured data and will support ode generation for running on xPC Target.
Arkadiy
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!