MATLAB: How to make the Simulink model having an MPC Controller block run successfully on the DSpace board

simulink coder

I have a model which has MPC Controller block in it from Model Predictive Control Toolbox. I am able to successfully generate code from it, but the generated code does not load and run on my DSpace board. I talked to DSpace about this and they told me that the code generated for this block is not compatible with their board. I would like to be able to run my generated code on a DSpace board.

Best Answer

The ability to support DSpace target is now available while using MPC Controller block in Simulink 7.2 (R2008b).
For previous product releases, there are no workarounds.