Install Instrument Control Toolbox Support Package for National Instruments NI-845x I2C/SPI Interface
To communicate with I2C and SPI interfaces in MATLAB®, you must use either a Total Phase® Aardvark I2C/SPI™ Host Adapter or an NI™ USB-845x I2C/SPI Interface Device.
To use the I2C or SPI interface with the NI USB-845x controller board, you must download the Instrument Control Toolbox™ Support Package for National Instruments™ NI-845x I2C/SPI Interface to obtain the latest driver, if you do not already have the driver installed. If you already have the latest driver installed, you do not need to download this support package.
To install the NI-845x driver software, download the support package from the Add-On Explorer. This support package is only supported on computers running 64-bit Windows®.
On the MATLAB Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages.
In the Add-On Explorer, find your support package in the Hardware Support Packages section. Click Show All if your support package is not visible.
To uninstall support packages, on the MATLAB Home tab, in the Environment section, click Add-Ons > Manage Add-Ons.
To update existing support packages, on the MATLAB Home tab, in the Environment section, click Add-Ons > Check for Updates > Hardware Support Packages.
For more information about using Add-On Explorer, see Get and Manage Add-Ons.
For more information on using NI USB-845x with the I2C and SPI interfaces, see I2C Interface Overview and SPI Interface Overview.