ssGetModelName
Get the model name
Syntax
const char_T *ssGetModelName(SimStruct *S)
Arguments
SSimStruct that represents an S-Function block or a Simulink® model.
Returns
The name of the S-function MEX file associated with the block if
S is a SimStruct for an
S-Function block. If S is the root
SimStruct, this macro returns the name of the Simulink block diagram.
Description
Get the name of an S-function or Simulink model.
Note
Instead of using ssGetModelName, it is recommended to use ssGetSFunctionName to get the name of the S-Function and
ssGetBlockDiagramName to get the name of the Simulink model.
Languages
C, C++
See Also
Version History
Introduced before R2006a