I am programming beaglebone black using Embedded Coder Support Package in MATLAB. Beaglebone black camera cape is used to get video live stream. The beaglebone black is connected to a 5 inch 24-bit (RGB) adafruit hdmi display. I am not getting the desired output of video stream on the hdmi display on running the image inversion or grayscale simulink model. While the output is as desired when seen on the SDL display output window of MATLAB. The type of error/noise/distortion is same while running the simulink models (refer to the file attached). This problem is also same while getting a simple video stream from camera cape without performing any type of processing.