What's the best way to read in a text file
Show older comments
I would like to read in a text file that has different delimiters and get a separate variable for each column of data. Here is an example of the format.
30 -4.05 03.11.2010 12:05:21
from the above line, i would like to get:
a = 30,
b = -4.05,
c = 3,
d = 11,
e = 2010,
f = 12,
g = 05,
h = 21
I would also like to be able to choose the file that I read in using uigetfile...
Any advice to get me going would be much appreciated!
Accepted Answer
More Answers (0)
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!