MATLAB: Connect Genie and Gige cameras’ IP to Matlab
cameraipMATLABvideo display
Hi,
I would like to connect those cameras with Matlab, using for that their IP adress, to display their live video. Is there any way in Matlab R2018a?
Thanks for your help!
Beñat
Best Answer
You can find the list of gige cameras discovered by MATLAB using the command below
gigecamlist
Now you can connect to the gige camera you want to connect to from the list by using the IP address as shown below:
g = gigecam('169.254.242.122') % Create a gigecam object using the IP address
To view the live video stream, use the preview function passing the above object.
preview(g)
The preview window displays live video stream from your camera. The preview dynamically updates, so if you change a property while previewing, the image changes to reflect the property change.
Best Answer