Main Content

GetOperatingPoint

Return MATLAB S-function's simulation operating point as a MATLAB data structure

Required

No

Language

MATLAB

Syntax

GetOperatingPoint(s)

Arguments

s

Instance of the Simulink.MSFcnRunTimeBlock class representing the Level-2 MATLAB S-Function block.

Description

The Simulink® engine invokes this custom method to get the simulation snapshot (operating point) of the model containing S. A call to this method should occur after Start and before Terminate to ensure that all of the S-function data structures (states, DWork vectors, and outputs) are available.

Introduced in R2019a