Documentation

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.

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 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++

Introduced before R2006a

Was this topic helpful?