Skip to Main Content Skip to Search
Product Documentation

ssSetPlacementGroup - Specify the name of the placement group of a block

Syntax

void ssSetPlacementGroup(SimStruct *S, const char_T *groupName)

Arguments

S

SimStruct representing an S-Function block. The block must be either a source block (i.e., a block without input ports) or a sink block (i.e., a block without output ports).

groupName

Name of the placement group of the block represented by S.

Description

Use this macro to specify the name of the placement group to which the block represented by S belongs. S-functions that share the same placement group name are placed adjacent to each other in the block sorted order list for the model. There is no correlation between different placement groups. This macro should be invoked in mdlInitializeSizes.

Languages

C, C++

See Also

ssGetPlacementGroup

  


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