ssGetParentSS
Get the parent of a SimStruct
Syntax
SimStruct *ssGetParentSS(SimStruct *S)
Arguments
-
S
-
SimStruct representing an S-Function block or a Simulink®model.
Returns
The parentSimStruct
ofS
, orNULL
ifS
is the rootSimStruct
.
Description
Use to obtain the parent of aSimStruct
.
Note
There is oneSimStruct
for each S-function in your model and one for the model itself. The structures are arranged as a tree with the modelSimStruct
as the root. This macro is for internal use. User-written S-functions should not use thessGetParentSS
macro.
语言
C, C++