Main Content
ssGetErrorStatus
Get a character vector that identifies the last error
Syntax
const char_T *ssGetErrorStatus(SimStruct *S)
Arguments
S
SimStruct that represents 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++
Examples
See the S-function sfun_errhdl.c
used in sfcndemo_sfun_errhdl
.
See Also
Version History
Introduced before R2006a