How to read alphanumeric(alphabetic+numeric) columns to MatLab?
Mostrar comentarios más antiguos
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 comentario
Stephen23
el 14 de En. de 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.
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 12 de En. de 2015
Try readtable() if you have R2013b or later:
t = readtable(filename);
1 comentario
Chathu
el 13 de En. de 2015
Categorías
Más información sobre Large Files and Big Data en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!