Writing S-Functions | ![]() ![]() |
Generate code generation data.
Syntax
void mdlRTW(SimStruct *S)
Arguments
S
Simstruct representing an S-function block.
Description
This function is called when the Real-Time Workshop is generating the model.rtw file. In this method, you can call the following functions which add fields to the model
.rtw file
:
Languages
See Also
ssSetInputPortFrameData, ssSetOutputPortFrameData, ssSetErrorStatus
![]() | mdlProcessParameters | mdlSetDefaultPortComplexSignals | ![]() |