Ocean Optics Spectrometer Support from Instrument Control Toolbox

Acquire data and control Ocean Optics spectrometers with MATLAB.

MATLAB® supports Ocean Optics USB spectrometers. Ocean Optics manufactures a broad line of USB powered spectrometers covering the visible, near IR and UV portions of  the spectrum. These spectrometers can be used from MATLAB on Microsoft® Windows® and Linux® 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).  With the support package, you can perform hundreds of tasks in MATLAB, including:

  • Acquire a spectrum
  • Set the integration time
  • Enable dark current and non-linear spectral corrections
  • View all connected devices

Devices supported by this support package include:


USB2000 Spectrometer NIR-512 Near-IR Spectrometer
USB2000+ Spectrometer NIR256-2.1 and NIR256-2.5 Near-IR Spectrometers
USB4000 Spectrometer NIRQuest512, 512-2.2 and 512-2.5 Near-IR Spectrometers
HR2000 High-resolution Spectrometer NIRQuest256-2.1 and 256-2.5 Near-IR Spectrometers
HR2000+High-resolution Spectrometer Maya2000-Pro Spectrometers
Jaz System Torus

Platform and Release Support

Available on 32-bit and 64-bit Microsoft Windows and 64-bit Linux only.
Prior release support

Ready to install?

MathWorks Requirements



Supported in student and home software.


Support Package


Support Package Installer installs third-party software for this support package. For more information, see the documentation or run Support Package Installer. To start Support Package Installer, go to the MATLAB tool strip, and click Add-Ons > Get Hardware Support Packages.

Third-Party Requirements



Request Hardware Support