How can I load .tab file with header in MATLAB ?
古いコメントを表示
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?
回答 (1 件)
Walter Roberson
2013 年 5 月 14 日
0 投票
xlsread() to read from the excel sheet.
textscan() with 'Delimiter', '\t' to read from the .tab directly.
4 件のコメント
RS
2013 年 5 月 14 日
Walter Roberson
2013 年 5 月 14 日
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
2013 年 5 月 16 日
RS
2013 年 5 月 18 日
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!