Create a 3-by-1 array of default operating point specification objects for the model.
opspec = operspec(sys,[3,1])
Array of operating point specifications for the model scdspeed. To display an
operating point specification, select an element from the array.
Add an output specification to the outport of the rad/s to rpm block.
newspec = addoutputspec(opspec,'scdspeed/rad//s to rpm',1);
This output specification is added to all of the operating point specification objects in
opspec.
You can specify different output constraints for each specification in opspec. For
example, specify different known values for each specification.
newspec(1,1).Outputs(1).Known = 1;
newspec(1,1).Outputs(1).y = 1900;
newspec(2,1).Outputs(1).Known = 1;
newspec(2,1).Outputs(1).y = 2000;
addoutputspec