Contenido principal

Model with Persistent Variables

R2026b
Model registers by using persistent variables and model RAM by using persistent array variables in MATLAB® design

Persistent variables enable you to model registers. Use persistent variables and System objects to model state and delays in a MATLAB design for HDL code generation.

Persistent array variables enable you to model RAM. By default, the HDL Coder™ software optimizes the area of your design by mapping persistent array variables to RAM.

Topics

Featured Examples