CVX in Simulink MATLAB function block

Hi,

Does CVX support code generation to use in Matlab function in Simulink? I have tried and got many errors.

Since the optimization is working fine in usual matlab m-file environment. Is there any way to integrate the code to run with a simulink project? I am trying to use it for real-time optimization.

Thanks for any valuable inputs.

A post was merged into an existing topic: CVX and Simulink Problem