Skip to Main Content Skip to Search
Product Documentation

ssGetRootSS - Get the root of a SimStruct hierarchy

Syntax

SimStruct *ssGetRootSS(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block or a Simulink model.

Returns

The SimStruct at the root of the SimStruct hierarchy.

Description

Use to obtain the root of the SimStruct hierarchy containing S. If S is, itself, the root SimStruct then ssGetRootSS returns S.

Languages

C, C++

See Also

ssGetParentSS

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS