It is not possible to modify the camera specific properties directly from MATLAB. You would have to set them using NI-MAX and then acquire images using Image Acquisition Toolbox.
The camera specific properties that are set using NI-MAX are saved to an interface file. This interface is the one referenced in the object constructor below:
vid = videoinput('ni',1,'img0');
The third input argument, "img0", is the interface file. The values that are saved by the NI-MAX into the interface will be used by the adaptor to create the VIDEOINPUT object.
The NI adaptor for the Image Acquisition Toolbox uses the National Instruments Software Development Kit (SDK). The National Instruments SDK does not present camera specific properties to users of the SDK, and instead relies upon users setting these values from inside NI-MAX and saving them to the interface file.
Best Answer