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 byS.

Description

Use this macro to specify the name of the placement group to which the block represented bySbelongs. 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 inmdlInitializeSizes.

Note

This macro is typically used to create device driver blocks.

语言

C, C++

Introduced before R2006a