Hi,
As a possible workaround You can always connect Cam directly to Arduino, Raspberry Pi
Then you can create a camera board object by executing the following command on the MATLAB prompt.
For Example:
clear rpi
rpi = raspi();
cam = cameraboard(rpi,'Resolution','640x480');
and directly use the PIXY1 cam from Arduino,Raspberry Pi
Hope it helps.
References:
https://in.mathworks.com/help/supportpkg/raspberrypiio/examples/working-with-raspberry-pi-camera-board.html
https://in.mathworks.com/help/supportpkg/arduinoio/ref/arduino.html