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
Minor fixes and improvements
Untangle that messy expression
YALMIP creates the options structure for FMINCON through the call fmincon(‘default’) which creates a different set of options compared to the alternative me...