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 CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by