How to read alphanumeric(alphabetic+numeric) columns to MatLab?
Ältere Kommentare anzeigen
I want to read data from a 'txt' file to MatLab. Please note that 3 columns of this 'txt' file consist of numerical values and the remaining column is an alphanumeric column (eg: 01f500000309, 01f50000030a ). I want to extract all those 4 columns to MatLab with their headers. I tried tblread,tblwrite but none of them worked. Any suggestions?
1 Kommentar
Stephen23
am 14 Jan. 2015
Your comments to Per Isakson's answer indicate that it really would be simpler if you uploaded the data file, or a shortened version of it, so that we can try it for ourselves. Please make a comment here (to your question), with an upload of the data file.
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 12 Jan. 2015
Try readtable() if you have R2013b or later:
t = readtable(filename);
1 Kommentar
Chathu
am 13 Jan. 2015
Kategorien
Mehr zu Large Files and Big Data finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!