Get the path of a block
const char_T *ssGetPath(SimStruct *S)
SimStruct representing an S-function block or a Simulink® model.
A pointer (
char_T *) to a character vector
containing the path to a block.
S is an S-Function block, this macro returns
the full Simulink path to the block. If
the root SimStruct of the model, this macro returns the model name.
In a C MEX S-function, in
the S-function is being called from the MATLAB® command prompt and is not part of a simulation.