Writing S-Functions    
ssGetModelName

Get the model name.

Syntax

Arguments

S
   SimStruct representing an S-Function block or a Simulink model.

Description

If S is a SimStruct for an S-Function block, this macro returns the name of the S-function MEX-file associated with the block. If S is the root SimStruct, this macro returns the name of the Simulink block diagram.

Languages

C

See Also
ssGetPath


  ssGetIWorkValue ssGetModeVector