RAM mapping is an area optimization that maps storage and delay elements in your MATLAB® code to RAM. Without this optimization, storage and delay elements are mapped to registers. RAM mapping can therefore reduce the area of your design in the target hardware.
You can map the following MATLAB code elements to RAM:
persistent array variable
dsp.Delay System object™
hdl.RAM System object