Hi all,
I have an optimization problem that should run online in a simulink simulation. My idea was to import the matlab function which solves the optimization ( and calls casadi as "import casadi .") in a simulink block, but it turned out that "import" is not accepted for the compilation of the model.
The question is: is there a way interface casadi with simulink? There exist a tutorial and some examples for that?
Thanks very much in advance.
BTW CasADi is awesome!
Bruno