Writing S-Functions | ![]() ![]() |
Syntax
ssWarning(SimStruct *S, msg)
Arguments
S
SimStruct representing an S-function block or a Simulink model.
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
See Also
![]() | ssUpdateRunTimeParamInfo | ssWriteRTWMxVectParam | ![]() |