Real-Time Workshop    

1. Analyze the Model

The build process begins with the analysis of your Simulink block diagram. The analysis process consists of these tasks:

During this phase, Real-Time Workshop reads your model file (model.mdl) and compiles an intermediate representation of the model. This intermediate description is stored, in a language-independent format, in the ASCII file model.rtw. The model.rtw file is the input to the next stage of the build process.

model.rtw files are similar in format to Simulink model (.mdl) files. Overview of a model.rtw File explains the basic structure of a .rtw file. For a detailed description of the model.rtw architecture, see model.rtw File Contents in the Target Language Compiler documentation.


  Steps in the Build Process 2. Call the Target Language Compiler to Generate Code