mdl_index = params(1).Value == max(Kp2_range) & params(2).Value == max(Ki2_range);Obtain the sensitivity at the output of G2 for the specified parameter combination.sys = getSensitivity(sllin,'y2','y1m',mdl_index);Obtain Offsets from Sensitivity FunctionOpen Simulink model.mdl = 'watertank';
open_system(mdl)Create a linearization option set, and set the StoreOffsets option.opt = linearizeOptions('StoreOffsets',true);Create slLinearizer interface.sllin = slLinearizer(mdl,opt);Add an analysis point at the tank output port.addPoint(sllin,'watertank/Water-Tank System');Calculate the sensitivity function at the analysis point, and obtain the corresponding
linearization offsets.[sys,info] = getSensitivity(sllin,'watertank/Water-Tank System');15 Alphabetical List
