https://au.mathworks.com/help/bioinfo/ref/msviewer.html
msviewer - Explore mass spectrum or set of mass spectra - MATLAB
This MATLAB function displays the MS Viewer, which lets you view and explore a mass spectrum defined by MZ and Intensities.
set ofexploremassspectrumspectra