ssGetPlacementGroup - Get the name of the placement group of a block
Syntax
const char_T *ssGetPlacementGroup(SimStruct *S)
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).
Returns
A pointer (char_T *) to the string indicting
the name of the S-function's 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
ssSetPlacementGroup
 | ssGetPath | | ssGetPortBasedSampleTimeBlockIsTriggered |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit