How to import unknown-size mixed text file in Matlab?
1 view (last 30 days)
Show older comments
Assume we are given text files of mixed (numerical real/integer and word/string elements). Elements are separated by \tab (large space). The imported file may be in cell format. The code should work for any file of multiple lines and columns.
An example line in text file:
0.2 54 Tom 8639 0.0031 0
1 Comment
Answers (0)
See Also
Categories
Find more on Workspace Variables and MAT Files 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!