User`s guide

Introducing Real-Time Workshop
1-3
embedded target products extend and tailor Real-Time Workshop code to run
in a growing suite of microprocessor environments.
Rapid SimulationsUsing Simulink Accelerator, the S-Function Target,
or the Rapid Simulation Target, you can accelerate your simulations by 5 to
20 times on average. Executables built with these targets bypass normal
Simulink interpretive simulation mode. Code generated by Simulink
Accelerator, S-Function Target, and Rapid Simulation Target is highly
optimized to execute only the algorithms used in your specific model. In
addition, the code generator applies many optimizations, such as eliminating
ones and zeros in computations for filter blocks.
Large-Scale Modeling — Support for multilevel modeling (termed “model
referencing”) in Simulink is mirrored in Real-Time Workshop, which lets you
generate code incrementally for a hierarchy of independent component
models, as they evolve.
Capabilities and Benefits
Specific capabilities and benefits of Real-Time Workshop include
Code generation for Simulink models
- Generates optimized, customizable code. There are several styles of
generated code, which can be classified as either embedded (production
phase) or rapid prototyping.
- Supports all Simulink features, including 8-, 16-, and 32-bit integers and
floating-point double and single data types.
- Fixed-point capabilities allow for scaling of integer words ranging from 2
to 128 bits. Code generation is limited by the implementation of
char,
short, int, and long in embedded C compiler environments (usually 8, 16,
and 32 bits, respectively). You can choose hardware characteristics for
more than 20 preconfigured target processors by name or create your own
custom processor definition
- Generated code is processor independent. The generated code represents
your model exactly. A separate run-time interface is used to execute this
code. Real-Time Workshop provides several example run-time interfaces,
as well as production run-time interfaces.
- Supports single- or multitasking operating system environments, as well
as “bare-board” (no operating system) environments.