This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Specify the name of the placement group of a block


void ssSetPlacementGroup(SimStruct *S, const char_T *groupName)



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


Name of the placement group of the block represented by S.


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.


C, C++

Introduced before R2006a

Was this topic helpful?