User`s guide

Introduction
12-7
target throughout development. The real-time format is the most
comprehensive code format and supports almost all the built-in blocks.
If, however, your application demands that you limit source code size, memory
usage, or maintain a simple call structure, then you should choose the
embedded-C format.
Finally, you should choose the S-function format if you are not concerned about
RAM and ROM usage and want to:
Componentize a model for scalability
Create a proprietary S-function
.dll or MEX-file object
Interface the generated code using the S-function C API
Speed up your simulation
More details for each code format appear in the following sections.
Choosing a Target
To choose a target, you must specify these files:
System target file
Template makefile
Makefile
Every target has all three of these files and is represented in the System Target
File browser entry associated with it. See “The System Target File Browser” on
page 3-11 for more information on the browser.
Typically, the system target file will specify the code format. If the system
target file does not specify one, the default is real-time.
Table 12-1 shows the various options available for each code format/target
available in the Real-Time Workshop.