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.

    Note   This macro is typically used to create device driver blocks.

Languages

C, C++

Was this topic helpful?