Get Input Index from Operating Point Specification
Open 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: 0
15 Alphabetical List