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
Working with polynomials, function values, derivatives, integrals and their properties
Minor fixes and improvements
How do I create a cheap Ferrari?
YALMIP creates the options structure for FMINCON through the call fmincon(‘default’) which creates a different set of options compared to the alternative me...