MATLAB: Can’t open demo

demoMATLABsimulinkSimulink Design Optimization

I am trying to open this demo, but it says 'No system or file called 'pidtune_demo' found.'
I'm using R2020a. Help?
I guess more importantly, I'm trying to find out what kind of block the output constraint and actuator constraint is as well.

Best Answer

This example requires Simulink Design Optimization and pidtune_demo model is located under this toolbox.
$MATLAB_INSTALL_FOLDER\toolbox\sldo\sldodemos\optim\pidtune_demo.slx
Please confirm you have installed Simulink Design Optimization.