There are three ways to acquire images programmatically:
videoinput object, for use with any
type of supported hardware
gigecam object, for use with GigE
Vision hardware only
matroxcam object, for use with Matrox
The section Acquisition Using Any Hardware pertains to image acquisition
videoinput object with any type of supported
hardware. If you have GigE Vision or Matrox hardware, you can use the new
interfaces for GigE Vision and Matrox, which provide new objects,
matroxcam. Or you can
continue to use the existing GigE Vision and Matrox adaptors
matrox) with the
videoinput object. See Acquisition Using GigE Vision Hardware and Acquisition Using Matrox Hardware for more information on those
You can also acquire images from any type of supported hardware using the Image Acquisition Tool, a full user interface that enables you to set acquisition properties, preview the image, and acquire images. For more information, see Acquisition Using the Image Acquisition Tool.
The functionality for all supported hardware is now available via the Support Package Installer. Starting with R2014a, each adaptor is available separately through the Support Package Installer, and you must install the appropriate support packages to use the toolbox with your hardware. For more information, see Image Acquisition Support Packages for Hardware Adaptors.