User`s guide
The Build Process
2-23
| rt_nonfinite.c
| modelsources.txt
| f14_dt.h
|
+---tlc
| This directory contains TLC files generated during the build
| process. These files are used to create the generated C source
| and header files.
¦
+---html
| This directory contains generated HTML files used for the Code
| Generation report.
Summary descriptions of the principle generated files follow:
•
model.rtw
An ASCII file, representing the “compiled model,” generated by the
Real-Time Workshop build process. This file is analogous to the object file
created from a high-level language source program. By default, Real-Time
Workshop deletes this file when the build process is complete. However,
you can choose to retain the file for inspection.
•
model.c
C source code that corresponds to model.mdl and is generated by the Target
Language Compiler. This file contains
- Include files
model.h and model_private.h
- All data except data placed in
model_data.c
- GRT wrapper functions
MdlStart, MdlOutputs, MdlUpdate,
MdlInitializeSizes, MdlInitializeSampleTimes
- Model registration code
- Algorithm code
•
model.h
Defines model data structures and a public interface to the model entry
points and data structures. Also provides an interface to the real-time
model data structure (
model_rtM) via accessor macros. model.h is included
by subsystem
.c files in the model. It includes
- Exported Simulink data symbols