User`s guide
The Build Process
2-27
• Project directory—slprj
A subdirectory within your working directory. When models referenced via
Model blocks are built for simulation or Real-Time Workshop code
generation, files are placed in
slprj. The Real-Time Workshop Embedded
Coder has an option that places generated shared code in
slprj without the
use of Model Reference. Subdirectories in
slprj provide separate places for
simulation code, some Real-Time Workshop code, utility code shared
between models, and other files. Of particular importance to Real-Time
Workshop users are
- Model reference RTW target files
slprj/
target/modelName/
- MAT files used during code generation of Model Reference RTW target
and stand-alone code generation
slprj/
target/modelName/tmwinternal
- Shared (fixed-point) utilities
slprj/
target/_sharedutils
See “Working with Project Directories” on page 3-62 for additional
information on organizing your files with respect to project directories.
The build directory always contains the generated code modules
model.c,
model.h, and the generated makefile model.mk.
Depending on the target, code generation, and build options you select, the
build directory might also include
•
model.rtw
• Object files (.obj or .o)
• Code modules generated from subsystems
• HTML summary reports of files generated (in the
/html subdirectory)
• TLC profiler report files
• Block I/O and parameter tuning information file (
model_capi.c)
• C-API code for parameters and signals
• Real-Time Workshop project (
model.tmw) files
For additional information about using project directories, see “Project
Directory Structure for Model Reference Targets” and “Supporting the