DSP Blockset | ![]() ![]() |
Reducing Computational Delay
There are a number of ways to reduce computational delay without actually running the simulation on faster hardware. To begin with, you should familiarize yourself with "Improving Simulation Performance and Accuracy" in the Simulink documentation, which describes some basic strategies. The section below supplements that information with several additional options for improving performance.
A first step in improving performance is to analyze your model, and eliminate or simplify elements that are adding excessively to the computational load. Such elements might include scope displays and data logging blocks that you had put in place for debugging purposes and no longer require. In addition to these model-specific adjustments, there are a number of more general steps you can take to improve the performance of any model:
dspstartup
file to tailor Simulink for DSP models, or manually make the adjustments described in Performance-Related Settings in dspstartup.m" in Appendix C.
![]() | Computational Delay | Algorithmic Delay | ![]() |