ssGetPlacementGroup
Get the name of the placement group of a block
Syntax
const char_T *ssGetPlacementGroup(SimStruct *S)
Arguments
S
SimStruct that represents 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).
Returns
A pointer (char_T *
) to the character vector indicating the
name of the S-function placement group.
Description
Use this macro in mdlInitializeSizes
to get the name of this
block's placement group. A placement group is an advanced feature for S-functions
that are either a source block (i.e., a block without input ports) or a sink block
(i.e., a block without output ports). All S-functions with the same placement group
will be placed adjacent to each other in the sorted list. There is no correlation
between different placement groups.
Note
This macro is typically used to create device driver blocks.
Languages
C, C++
See Also
Version History
Introduced before R2006a