Documentation

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.

Languages

C, C++

Example

See the S-function sfun_errhdl.c used in sfcndemo_sfun_errhdl.

Introduced before R2006a

Was this topic helpful?