openFileJCAMP()

Version 1.0.0.0 (3.19 KB) by Sugato
This function opens a JCAMP format file (extension: .jdx) and displays the data on a plot.
128 Downloads
Updated 12 Aug 2017

View License

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 (2025). openFileJCAMP() (https://ch.mathworks.com/matlabcentral/fileexchange/64102-openfilejcamp), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Atomic, Molecular & Optical in Help Center and MATLAB Answers
Acknowledgements

Inspired by: SRUtils

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Added reference to SRUtils.m