User`s guide

Automatic Program Building
3-3
Automatic Program Building
The Real-Time Workshop automates the task of building a stand-alone
program from your Simulink model. When you click on the
Build button on the
Real-Time Workshop page of the
Simulation Parameters dialog box, the make
command, which starts with make_rtw, is invoked. The build process consists
of three main steps that are controlled by an M-file,
make_rtw.m:
1 Generating the model code.
2 Generating a makefile that is customized for a given build.
3 Invoking the make utility with the customized makefile.