Get the name of the placement group of a block
const char_T *ssGetPlacementGroup(SimStruct *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).
A pointer (
char_T *) to the character vector indicating the
name of the S-function placement group.
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.
This macro is typically used to create device driver blocks.