Get the root of a SimStruct hierarchy
SimStruct *ssGetRootSS(SimStruct *S)
SimStruct representing an S-Function block or a Simulink® model.
SimStruct at the root of the
Use to obtain the root of the
SimStruct hierarchy containing
S is, itself, the root
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
SimStruct as the root. This macro is for internal use.
User-written S-functions should not use the