How to run a nonlinear state-space model on xPC target?

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

답변 (1개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2013년 10월 8일

0 개 추천

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

카테고리

질문:

2013년 8월 27일

답변:

2013년 10월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by