Display a warning message
void ssWarning(SimStruct *S, const char_T *msg)
S
SimStruct representing an S-Function block or a Simulink® model.
msg
Warning message.
Displays msg
. This macro expands to
mexWarnMsgTxt
when compiled for use with the Simulink product. When compiled for use with the Simulink
Coder™ product, the macro expands to printf("Warning:%s from
'%s'\n",msg, ssGetPath(S));
, if the target has
stdio
facilities; otherwise, it expands to a comment.
C, C++
See the S-function sfun_dynsize.c
used in sfcndemo_sfun_dynsize
.