Convert Licor 81x file to Matlab structure

Converts a .81x Licor file to a Matlab structure
206 Downloads
Updated 8 May 2013

View License

licorify.m converts .81x Licor files into a Matlab structure (licor),
which is organized as follows:

- licor.headers: Structure containing the 31-row header block from the .81x
file; i.e., the 'TSource' data is stored in licor.headers.TSource

- licor.footers: Structure containing the 23-row footer block, organized in
the same way as licor.headers

The rest of the licor structure is the data, which is stored in two
different ways, for your viewing convenience:

FIRST METHOD:

- licor.colheaders is a cell array, where each cell contains a header
for one of the columns (e.g., 'Etime' or 'Tcham')

- licor.data is a cell array, where each cell contains a data column.
licor.colheaders and licor.data are indexed in the same way, so
licor.colheaders{1} is 'Type' and licor.data{1} is the corresponding
column of data

SECOND METHOD:

Each column header is used as a structure name, and the corresponding
column of data is the structure value. e.g., the 'Pressure' data column
is stored as licor.Pressure

Cite As

Jack Peterson (2024). Convert Licor 81x file to Matlab structure (https://www.mathworks.com/matlabcentral/fileexchange/41677-convert-licor-81x-file-to-matlab-structure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Cell Arrays 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
1.0.0.0