How can I load .tab file with header in MATLAB ?

19 vues (au cours des 30 derniers jours)
RS
RS le 14 Mai 2013
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?

Réponses (1)

Walter Roberson
Walter Roberson le 14 Mai 2013
xlsread() to read from the excel sheet.
textscan() with 'Delimiter', '\t' to read from the .tab directly.
  4 commentaires
RS
RS le 16 Mai 2013
1. ok but if I want to read a particular column not by whole column as A to D, suppose I want to read only A and C, so how can I read 2. Suppose there is date and time data in a particular column that is also creating problem so how can I read.
RS
RS le 18 Mai 2013
How can I input several column which are not in a sequence like A:D.

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by