Documentation Center

  • Trial Software
  • Product Updates

ssGetModelName

Get the model name

Syntax

const char_T *ssGetModelName(SimStruct *S)

Arguments

S

SimStruct representing 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.

Languages

C, C++

See Also

ssGetPath

Was this topic helpful?