File Exchange

image thumbnail

*.txt read

version 1.0 (1.56 KB) by

This function reads a tab delimited txt file into a cell array.

6 Downloads

Updated

View License

The file to be imported can have 1 or more both column and/or row header lines. You can import tab delimited text files in which textual data is grouped all at the starting rows and columns and all numerical data fill the rest of the file.
If you have troubles don't hesitate to contact me.
Example of *.txt file:

t t t t t t % 1st column header
t t t t t t % 2nd column header
t t 1 1 1 1
t t 2 2 2 2.
| | |
| | numerical data
| 2nd row header
1st row header

Comments and Ratings (0)

MATLAB Release
MATLAB 7.4 (R2007a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video