| Contents | Index |
const char_T *ssGetPath(SimStruct *S)
A pointer (char_T *) to a string containing the path to a block.
If S is an S-Function block, this macro returns the full Simulink path to the block. If S is the root SimStruct of the model, this macro returns the model name. In a C MEX S-function, in mdlInitializeSizes, if
strcmp(ssGetModelName(S),ssGetPath(S))==0
the S-function is being called from the MATLAB command prompt and is not part of a simulation.
C, C++

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 |