Avantes to Matlab

Read spectral data from Avantes USB2 spectrometer files
Updated 30 Nov 2012

View License

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 (2024). Avantes to Matlab (https://www.mathworks.com/matlabcentral/fileexchange/37103-avantes-to-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Data Import and Analysis in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Bug corrected: a missing function added.