Simulink Control Design™ - MathWorks

(Tuis.) #1
newspec(3,1).Outputs(1).Known = 1;
newspec(3,1).Outputs(1).y = 2100;

Input Arguments


opspec — Operating point specification
operspec object | array of operspec objects

Operating point specification for a Simulink model, specified as one of the following:


  • operspec object — Add output specification to a single operspec object.

  • Array of operspec objects — Add the same output specification to all operspec
    objects in the array. All the specification objects must have the same Model property.


To create an operating point specification object for your model, use the operspec
command.

block — Simulink block
character vector | string

Simulink block to which to add the output specification, specified as a character vector or
string that contains its block path. The block must be in the Simulink model specified in
opspec.Model.

port — Output port
positive integer

Output port to which to add the output specification, specified as a positive integer in the
range [ 1 ,N], where N is the number of output ports on the specified block.

Output Arguments


newOpspec — Updated operating point specification
operspec object | array of operspec objects

Updated operating point specification, returned as an operspec object or an array of
operspec objects with the same dimensions as opspec. newOpspec is the same as
opspec, except that it contains the new output specification in its Outputs array.

15 Alphabetical List

Free download pdf