I have been asked frequently recently whether it is possible to have YALMIP code in Simulink simulations. The answer is yes, but there are some caveats. Check out the Simulink simulation example.
You May Also Enjoy
Be careful with unnecessary symbolic overhead
Various small improvements
Revised MISDP solvers
= ≠ ==. Horse purchases and warehouse logistics