Documentation

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

sim Simulate dynamic system
set_param Set system and block parameter values
Simulink.BlockDiagram.buildRapidAcceleratorTarget Build Rapid Accelerator target for model and return run-time parameter set
Simulink.BlockDiagram.getChecksum Return checksum of model
Simulink.SubSystem.getChecksum Return checksum of nonvirtual subsystem
slbuild Build standalone executable or model reference target for model; except where noted, this function requires a Simulink Coder license

Examples and How To

Design Your Model for Effective Acceleration

Techniques to apply when using acceleration

Perform Acceleration

How to configure and run an accelerated model

Interact with the Acceleration Modes Programmatically

How to use command-line parameters

Run Accelerator Mode with the Simulink Debugger

How to use the Accelerator mode with the debugger

How to Improve Performance in Acceleration Modes

Ways to 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

How to choose between Normal, Accelerator, and Rapid Accelerator modes

Code Regeneration in Accelerated Models

Describes the conditions under which code is regenerated

Comparing Performance

Understanding acceleration speed tradeoffs, and measuring performance

Was this topic helpful?