Writing S-Functions Previous page   Next Page
mdlRTW

Generate code generation data

C Syntax

C Arguments

S
   SimStruct representing an S-Function block.

M Syntax

M Arguments

s
   Instance of Simulink.MSFcnRunTimeBlock class representing the 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, C++, M

See Also

ssSetInputPortFrameData, ssSetOutputPortFrameData, ssSetErrorStatus


Previous page  mdlProcessParameters mdlSetDefaultPortComplexSignals Next page

© 1994-2005 The MathWorks, Inc.