Skip to Main Content Skip to Search
Product Documentation

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

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS