Tools to extract parameters from Bruker TopSpin parameter files (acqu, proc etc.). jcampread is too prescriptive to be used for TopSpin files because the parameter files (acqu*, proc*, etc.) don't contain XYDATA fields.
Use:
output = tsread(filename)
Returns a structure with all the parameters in a given file e.g. acqus
output = tslookup(filename, parameter)
output = tslookup(filename, parameter, value)
Returns specific parameters e.g. tslookup(..., 'D', 9)
Cite As
Geoffrey Akien (2024). tsread (https://www.mathworks.com/matlabcentral/fileexchange/71731-tsread), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on MATLAB Report Generator in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.