Skip to Main Content Skip to Search
Product Documentation

ssGetErrorStatus - Get a string 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 string 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.mdl.

See Also

ssSetErrorStatus

  


Related Products & Applications

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