How can I load .tab file with header in MATLAB ?
Mostra commenti meno recenti
There is excel file in .tab format of size approximately 300MB, opening in excel using delimited data type after pressing next giving option of all delimiters and column data format as a general.Now data comes in excel sheet,now want to load this file in matlab, this also having headers & I also want to load .tab directly in MATLAB, How can I?
Risposte (1)
Walter Roberson
il 14 Mag 2013
0 voti
xlsread() to read from the excel sheet.
textscan() with 'Delimiter', '\t' to read from the .tab directly.
4 Commenti
RS
il 14 Mag 2013
Walter Roberson
il 14 Mag 2013
Adapting an example from the online documentation for xlsread:
filename = 'myExample.xlsx';
sheet = 1;
header_xlRange = 'A:D';
[headers_nums, header_text] = xlsread(filename, sheet, header_xlRange);
body_xlRange = 'E:'; %I am not certain about this
body_nums = xlsread(filename, sheet, body_xlRange);
RS
il 16 Mag 2013
RS
il 18 Mag 2013
Categorie
Scopri di più su Spreadsheets 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!