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 that add fields to the model.rtw file:

Languages

C

See Also

ssSetInputPortFrameData, ssSetOutputPortFrameData, ssSetErrorStatus


  mdlProcessParameters mdlSetDefaultPortComplexSignals