Technical data
model.rtw
A-45
StringType "Expression"
}
Block Type: ToFile
The following is an example of a ToFile block configured with a filename of untitled.mat, and a
matrix name of
ans. The IWork contains two fields; one is for tracking the number of rows written
(
Count) and the other is for determining when to log the data at the input (Decimation).
NumIWorkDefines
2
IWorkDefine {
Name "Count"
Width 1
}
IWorkDefine {
Name "Decimation"
Width 1
}
NumRWorkDefines
1
RWorkDefine {
Name "FilePtr"
}
ParamSettings {
Filename "untitled.mat"
MatrixName "ans"
Decimation 1
Table A-3: Model.rtw File Contents — Block Specific Records (Continued)