Target Language Compiler | ![]() ![]() |
model.rtw File Contents
This appendix describes the contents of the model
.rtw
file, which is created from your block diagram during the Real-Time Workshop build procedure, and processed by the Target Language Compiler. The contents of the model
.rtw
file is a compiled version of your block diagram. The model
.rtw
file contains all the information necessary to define behavioral properties of the model for the purpose of generating code. Most graphical model information is excluded from the model
.rtw
file.
This appendix is provided so that you can modify the existing code generation or even create a new code generator to suit your needs. The general format of the model
.rtw
file is
CompiledModel {
<TLC variables and records describing the compiled model>
}
![]() | Target Language Compiler Functions | Understanding the model.rtw File | ![]() |