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,