Set operating point of an individual Stateflow chart, MATLAB function, or S-function block
sets the operating point to the block specified by a
blockpath must refer to a Stateflow chart, a MATLAB function, or a
S-function block. To modify states of other types of blocks, use the
loggedStates of the
Operating point object for the model.
blockpath— Path of the block
Path of the block for which to set the operating point values, specified as a character vector
blockOperatingPoint— Operating point of the block specified
Operating point to be set to the specified block, specified as an object.
This example shows how to set the operating point for a block.
newOperPoint = set(myOperPoint, 'mymodel/chart', newChartOperPoint)