https://ch.mathworks.com/help/visionhdl/ref/visionhdl.pixelstoframe-system-object.html
visionhdl.PixelsToFrame - Convert pixel stream to frame-based video - MATLAB
The visionhdl.PixelsToFrame System object converts a color or grayscale pixel stream and control structures into frame-based video.
convertpixelstreamframebased