Writing S-Functions    
ssSetPlacementGroup

Specify the name of the placement group of a block.

Syntax

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 execution order list for the model. This macro should be invoked in mdlInitializeSizes.

Languages

C

See Also
ssGetPlacementGroup


  ssSetParameterTunable ssSetPWorkValue