Target Language Compiler    

Contents of model.rtw


The input to the Target Language Compiler is a model.rtw file, a compilation of model.mdl that describes blocks, inputs, outputs, parameters, states, storage, and other model components and properties. Here we take a general look at this intermediate file and its principal access methods.
Model.rtw File Overview
Identifiers, values, and the structure of records
Using Library Functions to Access model.rtw Contents
The safe way to access model records, with one exception

model.rtw provides a complete description of the records in model.rtw files. Please be aware that the structure of this file is very likely to change between releases, which is a very compelling reason to limit your access to model.rtw to the TLC library functions documented in TLC Function Library Reference.

  Data Handling with TLC: An Example Model.rtw File Overview