Modelling registers in Embedded MATLAB

This example shows how to use Embedded MATLAB to model memory elements
2.7K Downloads
Updated 1 Sep 2016

View License

Delay blocks in Simulink help to model memory elements in hardware. This example shows how to model the same delays in Embedded MATLAB using persistent variables.
The model consists of four subsystems each modeling a kind of delay (unit delay, integer delay, tap delay, tap delay vector) and comparing the results with corresponding block in Simulink with identical behavior.

Delays are essential in writing causal algorithms (those that use previous input and output samples to compute current output samples) in signal processing.

Cite As

Kiran Kintali (2024). Modelling registers in Embedded MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/16100-modelling-registers-in-embedded-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.1

Updated license

1.0.0.0

add to eML category