User`s guide

6 Program Architecture
6-26
Figure 6-6: The Rapid Prototyping Program Architecture
The Real-Time Workshop architecture consists of three parts. The first two
components, system dependent and independent, together form the run-time
interface. The system dependent and independent components can be viewed
together collectively as the run-time interface.
This architecture readily adapts to a wide variety of environments by isolating
the dependencies of each program component. The following sections discuss
each component in more detail and include descriptions of the application
Noninlined
Main Program
External mode
communication
Generated (Model) Code
S-functions
Run-Time Interface
Timing
Interrupt handling
I/O drivers
Data logging
Model execution scheduler: rt_sim.c
SimStruct: simstruc.h
Rapid Prototyping Real-Time Program Architecture
Integration solvers:
ode1.c — ode5.c
mysfun.c
System
Dependent
Components
System
Independent
Components
Application
Components
MdlOutputs,etc.
Inlined S-functions
Model parameters