openFileJCAMP()

This function opens a JCAMP format file (extension: .jdx) and displays the data on a plot.

You are now following this Submission

Function Description
This function opens a JCAMP format file (extension: .jdx) and displays
the data on a plot. It also returns the the data and the structure as
output.

This requires Bioinformatics Toolbox.

AUTHOR: Sugato Ray | Created on: 20-MAY-2017 | ray.sugato[at]gmail.com

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PLEASE ACKNOWLEDGE THE AUTHOR IF YOU USE THIS CODE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
INPUT:
Note yet.

OUTPUT:
JCAMPdata = just the data block
JCAMPStruct = the whole JCAMP structure (complete file content)

EXAMPLE:
[ JCAMPdata, JCAMPStruct] = openFileJCAMP();
This function was originally developed to read absorption/transmission spectra data in JCAMP format.

Cite As

Sugato (2026). openFileJCAMP() (https://uk.mathworks.com/matlabcentral/fileexchange/64102-openfilejcamp), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: SRUtils

Categories

Find more on Atomic, Molecular & Optical 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.0.0.0

Added reference to SRUtils.m