Get Input Index from Operating Point SpecificationOpen Simulink model.mdl = 'scdtmpSetpoints';
mdlpath = fullfile(matlabroot,'examples','slcontrol',mdl);
open_system(mdlpath)Create an operating point specification object for the model.
opspec = operspec(mdl);opspec contains specifications for the root-level input ports of the model.
opspec.Inputs
(1.) scdtmpSetpoints/Feed rpm
initial guess: 015 Alphabetical List