Main Content

ssGetParentSS

(To be removed) Get the parent of a SimStruct

ssGetParentSS will be removed in a future release.

Syntax

SimStruct *ssGetParentSS(SimStruct *S)

Arguments

S

SimStruct that represents an S-Function block or a Simulink® model.

Returns

The parent SimStruct of S, or NULL if S is the root SimStruct.

Description

Use to obtain the parent of a SimStruct.

Note

There is one SimStruct for each S-function in your model and one for the model itself. The structures are arranged as a tree with the model SimStruct as the root. This macro is for internal use. User-written S-functions should not use the ssGetParentSS macro.

Languages

C, C++

Version History

Introduced before R2006a

collapse all

R2022b: To be removed

The ssGetParentSS function will be removed in a future release.