Main Content

Acceleration

Improve simulation speed with accelerator and rapid accelerator modes

Use Accelerator and Rapid Accelerator modes to achieve faster simulation without changing the model itself. To find out more, see What Is Acceleration?

Functions

simSimulate a Simulink model
set_paramSet system and block parameter values
Simulink.BlockDiagram.buildRapidAcceleratorTargetBuild Rapid Accelerator target for model and return run-time parameter set
Simulink.BlockDiagram.getChecksumReturn checksum of model
Simulink.SubSystem.getChecksumReturn checksum of nonvirtual subsystem
slbuildBuild standalone executable file or model reference target for model

Examples and How To

Design Your Model for Effective Acceleration

Learn about techniques to apply when using acceleration.

Perform Acceleration

Configure and run an accelerated model.

Interact with the Acceleration Modes Programmatically

Use command-line parameters for acceleration modes.

Run Accelerator Mode with the Simulink Debugger

Use the Accelerator mode with the debugger.

How to Improve Performance in Acceleration Modes

Improve acceleration performance.

Concepts

What Is Acceleration?

Introduces the accelerator and rapid accelerator modes.

How Acceleration Modes Work

Compares and contrasts normal, accelerator, and rapid accelerator modes.

Choosing a Simulation Mode

Based on your simulation needs, select to run your simulation in Normal, Accelerator, and Rapid Accelerator modes.

Code Regeneration in Accelerated Models

Identify the conditions under which code is regenerated.

Comparing Performance

Choose among acceleration speed tradeoffs and measure performance.

Featured Examples