File Exchange

image thumbnail

Instrument output text file with header and unwanted lines to matlab matrix

version (1.81 KB) by Sathyanarayan Rao
Removes header and unwanted lines from any text file and saves data in matlab matrix form.


Updated 16 Nov 2017

View License

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.

Comments and Ratings (1)

Rob Campbell

Overly specific. Not of general interest.

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor