How to dlmread with different format ?
2 views (last 30 days)
Show older comments
How to dlmread with different format ? Like my text file has string and int etc
0 Comments
Accepted Answer
Walter Roberson
on 5 Dec 2016
readtable() the file.
2 Comments
Walter Roberson
on 5 Dec 2016
Or, use num2cell on each numeric column, and horzcat() those together with the string columns
More Answers (0)
See Also
Categories
Find more on Data Type Conversion 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!