Writing S-Functions    
mdlRTW

Generate code generation data.

Syntax

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

C

See Also

ssSetInputPortFrameData, ssSetOutputPortFrameData, ssSetErrorStatus


 mdlProcessParameters mdlSetDefaultPortComplexSignals