Trim Model Using Specified Optimizer Type
Open the Simulink model.
mdl = 'watertank';
open_system(mdl)
Create a default operating point specification object.
opspec = operspec(mdl);
Create an option set that sets the optimizer type to gradient descent and suppresses the
search report display.
opt = findopOptions('OptimizerType','graddescent','DisplayReport','off');
Trim the model using the specified option set.
op = findop(mdl,opspec,opt);
Obtain Operating Point Search Report
Open the Simulink model.
mdl = 'watertank';
open_system(mdl)
findop