Main Content

SetOperatingPoint

Restore operating point of MATLAB S-function

Required

No

Language

MATLAB®

Syntax

SetOperatingPoint(s, inOP)

Arguments

s

Instance of Simulink.MSFcnRunTimeBlock class that represents a Level-2 MATLAB S-Function block.

inOP

MATLAB data that represents the operating point for the S-function in the same form and type returned by the GetOperatingPoint method.

Description

The Simulink® engine invokes this custom method to restore the operating point for the Level-2 MATLAB S-Function block when restoring the model operating point. The software restores the model operating point when you explicitly configure a model to load an initial state that you specify as a Simulink.op.ModelOperatingPoint object and when you use features that rely on the model operating point internally, such as fast restart.

Version History

Introduced in R2019a

expand all

Go to top of page