Restore operating point of MATLAB S-function
No
MATLAB
SetOperatingPoint(s, in)
s
Instance of Simulink.MSFcnRunTimeBlock
class
representing the Level-2 MATLAB S-Function block.
in
The MATLAB® data of type returned by GetOperatingPoint
.
The Simulink® engine invokes this custom method at the beginning of a simulation of the
model containing S
. Simulink sets the initial simulation state of the
S-function to the operating point of the model.
Custom Code and Hand Coded Blocks using the S-function API| InitializeConditions
|GetOperatingPoint
|mdlGetOpeartingPoint