User`s guide

Automatic Program Building
3-5
When you click the Build button on the Real-Time Workshop page on the
Simulation Parameters dialog box, these steps are carried out automatically.
This diagram illustrates the logic that controls this process:
Figure 3-2: The Logic That Controls Automatic Program Building
Custom
Generate
Makefile
Press Build
Button
Does
HOST equal
Target Host?
No
Invoke
Yes
Generate
Code
Template
Makefile
Simulink
Model
Makefile
model.mk
make
model.c
model.h
model_export.h
model.prm
model.reg
Stop