Avantes to Matlab

Read spectral data from Avantes USB2 spectrometer files

You are now following this Submission

A set of functions to automatically process files saved by Avantes AvaSoft 7 software. See demo for example of use and descriptions within each m-file. The main function to use is avantesSpectrumRead, it will read all binary and ASCII files saved by Avantes within a directory. The binary file reader is the avantesBinaryRead function. A couple of additional useful functions (getScansByTime and getValueAtWavelength) are provided.

Thanks to Avantes BV for decription of their binary format. I am not affiliated with Avantes.

Tested with Matlab 2011 and 2012. For earlier versions, replace ~'s with "zzz" :)

Cite As

Kotya Karapetyan (2026). Avantes to Matlab (https://www.mathworks.com/matlabcentral/fileexchange/37103-avantes-to-matlab), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Data Import and Analysis in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Bug corrected: a missing function added.

1.0.0.0