I have made some changes to your simulink model, one suggestion is that do not name your slx files as names of standard function, I have added a pulse block which gives input to the start/stop of PID Auto tunner block. I hope this helps.
Thank you
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!