Main Content

Install the Ocean Optics Spectrometers Support Package

You can use Instrument Control Toolbox™ to communicate with Ocean Optics USB spectrometers. You can acquire data from the spectrometer and control it. Ocean Optics manufactures a broad line of USB-powered spectrometers covering the visible, near IR, and UV portions of the spectrum. You can use these spectrometers from MATLAB® on Windows® and Macintosh platforms.

The Instrument Control Toolbox Support Package for Ocean Optics Spectrometers lets you use MATLAB for comprehensive control of any spectrometer that is supported by the Ocean Optics OmniDriver software (version 2.12 or higher). You can perform many tasks, including:

  • Acquire a spectrum

  • Set the integration time

  • Enable dark current and nonlinear spectral corrections

  • View all connected devices

For a list of supported devices, see https://www.mathworks.com/hardware-support/ocean-optics-spectrometers.html.

Note

This support package is being removed in R2018b. The Instrument Control Toolbox still supports use of Ocean Optics hardware as described here. Required MATLAB files will be installed with the toolbox. Required Ocean Optics files, such as instrument drivers, need to be installed separately from Ocean Optics. You can still use Ocean Optics instruments with the toolbox. To do so, install any required instrument drivers from Ocean Optics, if you do not already have them installed. Required files from Ocean Optics are available from the MathWorks web site: https://www.mathworks.com/hardware-support/ocean-optics-spectrometers.html.

This feature is available through the Hardware Support Packages. Using this installation process, download and install the following file(s) on your host computer:

  • MATLAB Instrument Driver for Ocean Optics support

  • Ocean Optics OmniDriver version 2.2 driver files

  • An example that shows how to take measurements with an Ocean Optics spectrometer

Note

You can use this support package on a host computer running on 64-bit Windows or 64-bit macOS operating systems that Instrument Control Toolbox supports.

Installing the Support Package

To install the Instrument Control Toolbox Support Package for Ocean Optics Spectrometers:

On the MATLAB Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages.

In the Add-On Explorer, scroll to the Hardware Support Packages section, and click show all to find your support package.

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.