Writing S-Functions Previous page   Next Page
ssSetErrorStatus

Report an error

C Syntax

Ada Syntax

Arguments

S
   SimStruct representing an S-Function block or a Simulink model.

msg
   Error message.

Description

Use this function to report errors that occur in your S-function. For example:

This function causes Simulink to stop and display the specified error message. The function does not generate an exception. Thus you can use it in your S-function to avoid creating exceptions when reporting errors.

Languages

Ada, C

See Also

ssWarning


Previous page  ssSetDWorkWidth ssSetExplicitFCSSCtrl Next page

© 1994-2005 The MathWorks, Inc.