What Is Acceleration?
Acceleration is a mode of operation in
the Simulink product that you can use to speed up the execution
of your model. The Simulink software includes two modes of acceleration: Accelerator mode
and the Rapid Accelerator mode. Both modes replace
the normal interpreted code with compiled target code. Using compiled
code speeds up simulation of many models, especially those where run
time is long compared to the time associated with compilation and
checking to see if the target is up to date.
The Accelerator mode works with any model that does not include Algebraic Loops,
but performance decreases if a model contains blocks that do not support
acceleration. The Accelerator mode supports the Simulink debugger
and profiler. These tools assist in debugging and determining relative
performance of various parts of your model. For more information,
see Using the Accelerator Mode with the Simulink Debugger and Capturing Performance Data.
The Rapid Accelerator mode works with only those models containing
blocks that support code generation of a standalone executable. For
this reason, Rapid Accelerator mode does not support the debugger
or profiler. However, this mode generally results in faster execution
than the Accelerator mode. When used with dual-core processors, the
Rapid Accelerator mode runs Simulink and the MATLAB technical
computing environment from one core while the rapid accelerator target
runs as a separate process on a second core.
For more information about the performance characteristics of
the Accelerator and Rapid Accelerator modes, and how to measure the
difference in performance, see Comparing Performance.
 | Accelerating Models | | How the Acceleration Modes Work |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit