Hi,
I'm trying to connect a Raspberry Pi and its HQ camera with MATLAB, through the Hardware Support Package. The installation was successful and I was able to contact the board and generate an r object with raspi().
DeviceAddress: '192.168.1.45'
BoardName: 'Raspberry Pi 4 Model B'
AvailableDigitalPins: [4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]
AvailableI2CBuses: {'i2c-0','i2c-1'}
AvailableWebcams: {'unicam (platform:fe801000.csi)'}
AvailableCANInterfaces: {}
As you can see, a webcam is detected right off the bat. When I try to access the webcam with a variable
I get the following error message.
unicam (platform:fe801000.csi) is in use. You need to terminate the existing connection first
by clearing the webcam object.
I suspect it's because the availableWebcams field but I can't terminate the connection because my workspace is free of variables and I can't delete the contents of the field because it's read only. There is absolutely no information online about this situation and I would like to ask for some guidance.
Thanks.