Regularization Methods do not work in Simulink?

Hey everyone,

i was wondering why my optmization always crashed in simulink while everything worked fine in Matlab. Then i noticed that I was using a regularization method (‘project’ works best for me) in the matlab code. If i turn off the regularization option, the optimizer crashes in matlab as well.
Is it possible, that the regularization does not work in simulink, or is it just not a feature of the simulink interface and is not being compiled with the s-function?

Did any of you have the same problem or is using the regularization in simulink?

Thanks in advance,
Jasper

Hi Jasper,

there was a discrepancy between the Matlab interface and the template based interface (used in Simulink) which I fixed here:

Do you have an acados version newer than that?
If not, please update and try again.

Cheers,
Jonathan