Technical data

A
model.rtw
A-40
ParamSettings {
FunctionName
Name of S-function.
FunctionType
Type of S-function: "M-File", "C-MEX", or "FORTRAN-MEX".
DirectFeedthrough
yes
or no
UsingUPtrs
Is the C MEX S-function using ssGetUPtrs(S) or ssGetU(S)?
InputContiguous
yes
or no
SampleTimesToSet
M
-by-2 matrix of sample time indices indicating any sample
times specified by the S-function in
mdlInitializeSampleTimes
, which get updated. The first
column is the S-function sample time index, and the second
column is the corresponding
SampleTime record of the model
giving the
PeriodAndOffset. For example, an inherited sample
time will be assigned the appropriate sample time such as that
of the driving block. In this case, the
SampleTimesToSet will be
[0, i] where "i" is the specific SampleTime record for the
model.
DynamicallySizedVectors
Vector containing any of: "U", "Y", "Xc", "Xd", "RWork",
"IWork", or "PWork". For example ["U", "Y"].
}
NumSFcnSysOutputCalls
Number of calls to subsystems of type "function-call".
SFcnSystemOutputCall {
One record for each call.
OutputElement
Index of the output element that is doing the function call.
FcnPortElement
Index of the subsystem function port element that is being
“called.”
BlockToCall
[systemIndex, blockIndex]
or unconnected.
}
Table A-3: Model.rtw File Contents — Block Specific Records (Continued)