Real-Time Workshop | ![]() ![]() |
Code Components
A Real-Time Workshop program containing code generated from a Simulink model consists of a number of code modules and data structures. These fall into two categories.
Application Components
Application components are those which are specific to a particular model; they implement the functions represented by the blocks in the model. Application components are not specific to the target. Application components include:
Run-Time Interface Components
A number of code modules and data structures, referred to collectively as the run-time interface, are responsible for managing and supporting the execution of the generated program. The run-time interface modules are not automatically generated. To develop a custom target, you must implement certain parts of the run-time interface. Table 14-1 summarizes the run-time interface components.
The components of the run-time interface vary, depending upon whether the target is an embedded system or a rapid prototyping environment.
![]() | Components of a Custom Target Configuration | User-Written Run-Time Interface Code | ![]() |