Real-Time Workshop    

Automatic Program Building

The Real-Time Workshop automatic program building process creates programs for real-time applications in a variety of host environments. Automatic program building uses the make utility to control the compilation and linking of generated source code.

The figure below illustrates the complete process. The shaded box highlights the portions of it executed by Real-Time Workshop.

Figure 2-1: Automatic Program Building

A high-level M-file command controls the Real-Time Workshop build process. The default command, used with most targets, is make_rtw. Real-Time Workshop normally issues this command, although you may do so from the MATLAB control window at any time. If you are curious about how Real-Time Workshop choreographs its activities, you can inspect this M-file (but never edit it), located in matlabroot/toolbox/rtw/rtw.


  Building an Application Steps in the Build Process