ssGetErrorStatus
Get a character vector that identifies the last error
Syntax
const char_T *ssGetErrorStatus(SimStruct *S)
Arguments
S
SimStruct representing an S-Function block.
Returns
A pointer (char_T *
) to a character vector that identifies the
last error message.
Description
Use to determine the last error in a single-threaded application. For
multi-threaded applications, use ssGetLocalErrorStatus
instead.
Languages
C, C++
Example
See the S-function sfun_errhdl.c
used in sfcndemo_sfun_errhdl
.