7.6SIMULATION ACCELERATION

7.6.1Introduction

The default simulation option in Simulink is Normal mode. It is set by clicking Simulation Normal in Simulink as shown in Figure 7.89 for the discrete-time Kalman filter model from Section 5.12. In this mode, the simulation is executed as a single (interpreted) process within the MATLAB/Simulink environment. Normal mode supports debugging, M-files, scopes/viewers, run-time diagnostics, parameter tuning, and algebraic loops. However, depending on the level of fidelity built into the Simulink model, or depending on how many replications of the Simulink model are run, the simulation could consume a lot of the user’s time.

Figure 7.89Normal simulation.

Simulink offers two compiled options: Accelerator ...

Get Simulation of Dynamic Systems with MATLAB® and Simulink®, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.