How to read alphanumeric(alphabetic+numeric) columns to MatLab?
Afficher commentaires plus anciens
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 commentaire
Stephen23
le 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.
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 12 Jan 2015
Try readtable() if you have R2013b or later:
t = readtable(filename);
1 commentaire
Chathu
le 13 Jan 2015
Catégories
En savoir plus sur Large Files and Big Data dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!