Real-Time Workshop    

Embedded Program Framework

The Real-Time Workshop Embedded Coder provides a framework for embedded programs. Its architecture is outlined by the following figure.

Figure 7-9: Embedded Program Architecture

Note the similarity between this architecture and the rapid prototyping architecture in Figure 7-6. The main difference is the lack of the SimStruct data structure and the removal of the noninlined S-functions.

Using this figure, you can compare the embedded style of generated code, used in the Real-Time Workshop Embedded Coder, with the rapid prototyping style of generated code of the previous section. Most of the rapid prototyping explanations in the previous section hold for the Real-Time Workshop Embedded Coder target. The Real-Time Workshop Embedded Coder target simplifies the process of using the generated code in your custom-embedded applications by providing a model- specific API and eliminating the SimStruct. This target contains the same conceptual layering as the rapid prototyping target, but each layer has been simplified.

For a discussion of the structure of embedded real-time code, see the Real-Time Workshop Embedded Coder documentation.


  Rapid Prototyping Application Components Models with Multiple Sample Rates