Being a student engineer in electrical engineering, I work in my project of end of study on Automation of software in the loop coverage of a MATLAB / SIMULINK model and I am a beginner in the field of automation using MATLAB.
Page 86-91 of my master thesis (https://doi.org/10.13140/RG.2.2.27075.91681) has Mask and different type of controllers in Simulink for first order and second order processes. Is in Spanish, but is should be very straight forward.