How to read alphanumeric(alphabetic+numeric) columns to MatLab?
Mostra commenti meno recenti
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 Commento
Stephen23
il 14 Gen 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.
Risposta accettata
Più risposte (1)
Image Analyst
il 12 Gen 2015
Try readtable() if you have R2013b or later:
t = readtable(filename);
1 Commento
Chathu
il 13 Gen 2015
Categorie
Scopri di più su Large Files and Big Data in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!