Real-Time Workshop User's Guide | ![]() ![]() |
Introduction
The Real-Time Workshop generates two styles of code. One code style is suitable for rapid prototyping (and simulation via code generation). The other style is suitable for embedded applications. This chapter discusses the program architecture, that is, the structure of the Real-Time Workshop generated code, associated with these two styles of code. The table below classifies the targets shipped with the Real-Time Workshop.
Third-party vendors supply additional targets for the Real-Time Workshop. Generally, these can be classified as rapid prototyping targets. For more information about third-party products, see the MATLAB Connections Web page: http://www.mathworks.com/products/connections.
You can identify the rapid prototyping style of generated code by its use of the SimStruct
data structure (i.e., #include "simstruc.h"
). In contrast, the embedded code style does not have a SimStruct
.
This chapter is divided into three sections. The first section discusses model execution; the second section discusses the rapid prototyping style of code; and the third section discusses the embedded style of code.
![]() | Program Architecture | Model Execution | ![]() |