Instrument output text file with header and unwanted lines to matlab matrix
Version 1.0.0.0 (1.81 KB) by
Sathyanarayan Rao
Removes header and unwanted lines from any text file and saves data in matlab matrix form.
ARES II ERT instrument data format is chosen as example. The code can be modified for any instrument text file. Make sure to modify C = textscan(fid,'%f %f %f %f P%f P%f GEN %f %f %f %f %f %f'); line to suit your needs.
Cite As
Sathyanarayan Rao (2024). Instrument output text file with header and unwanted lines to matlab matrix (https://www.mathworks.com/matlabcentral/fileexchange/65083-instrument-output-text-file-with-header-and-unwanted-lines-to-matlab-matrix), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Numeric Types 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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |