Writing S-Functions    
ssWarning

Display a warning message.

Syntax

Arguments

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

msg
   Warning message.

Description

Displays msg. Expands to mexWarnMsgTxt when compiled for use with Simulink. When compiled for use with the Real-Time Workshop, expands to printf("Warning:%s from '%s'\n",msg, ssGetPath(S));, if the target has stdio facilities; otherwise, it expands to a comment.

Languages

C

See Also

ssSetErrorStatus, ssPrintf


  ssUpdateRunTimeParamInfo ssWriteRTW2dMatParam