Do not try this. it's not gonna work if you are dealing with simscape model. use linearization at snapshot, instead.
I did it and tunes PI. It works fine.
https://www.mathworks.com/matlabcentral/answers/467606-why-i-can-t-tune-design-pid-for-a-vehicle-modelled-with-simscape