How do I use a JAI USB3 Vision camera with Matlab?

Mathworks have an article about interfacing on their home page:

If you have a recent version of Matlab, you will only have to configure Matlab to use the JAI driver in C:\Program Files\JAI\SDK\bin.

The JAI SDK can be downloaded here:

Make sure to use the JAI SDK, not the eBUS SDK with this guide.

We have received the following steps from some of our customers using Matlab 2012b:

1. Add "C:\Program Files\JAI\SDK\bin" to Matlab path.
2. Add environment variable GENICAM_GENTL32_PATH or GENICAM_GENTL64_PATH depending if your system is 32 or 64 bit, and set its value to "C:\Program Files\JAI\SDK\bin". The path can be added like this:

  • From Start -> Run (or "Windows key"+"R"), execute "sysdm.cpl". This will open the System Properties dialog.
  • From the "advanced" tab, click the "Environment Variables" button. This will open the dialog, where you can enter the system variable.

3. Restart Matlab and it works!

(assuming JAI SDK is installed in "C:\Program Files")


Have more questions? Submit a request


  • 0
    Koko Den

    Information update: Some customer didn't success in Matlab 2012b by above setting, but it worked after update Matlab to 2018a.

  • 0
    Phuong Luong

    Could you please tell me how to connect Jai USB 3 Vision interface and Matlab? I followed instructions written above but no success. Matlab always display " no devices were detected " although i have installed "Gentl " and "Gige" adaptors and Jai DSK. I am using Matlab 2019a  and a Jai USV 3 Vision (model GO-5000M-USB serial 502062).

    Thank you for your help!

  • 0
    Roger Lin

    Was able to get it working with Go-5000c-usb and SP-20000C-USB for version R2023a. After performing the steps outlined above will also need to click on don't see your device on the top left of Image Acquisition Explorer. Select the add on to add support packages for Genicam Interface. 

    Edited by Roger Lin
Please sign in to leave a comment.