User`s guide

6 Program Architecture
6-36
Embedded Program Framework
The embedded program framework and architecture is outlined by the
following figure.
Figure 6-9: The Embedded Program Architecture
Main Program
Generated (Model) Code
Run-time Interface
Timing
Interrupt handling
I/O drivers
Data logging
Model execution scheduler: rt_sim.c
Embedded Real-Time Program Architecture
Integration solvers:
ode1.c — ode5.c
System
Dependent
Components
System
Independent
Components
Application
Components
MdlOutputs,etc.
Inlined S-functions
Model parameters