openFileJCAMP()
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://www.mathworks.com/matlabcentral/fileexchange/64102-openfilejcamp), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: SRUtils
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Added reference to SRUtils.m |
