Loading a excel file in which I want to take only A, C not B and D, how can I improve?

1 回表示 (過去 30 日間)
filename = 'myExample.xlsx';
sheet = 1;
header_xlRange = 'A:D';
[headers_nums, header_text] = xlsread(filename, sheet, header_xlRange);
loading a excel file in which I want to take only A, C not B and D, how can I improve?

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 26 日
headers_nums=headers_nums(:,[1 3])

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by