Reading excel sheetname n extracting data from that using matlab

can u pass sheetnames(Not numbers please) of excel file using matlab so it reads only that particular sheet from the excel file and not anything else?

 Accepted Answer

Using xlsread
num = xlsread(filename,sheet) %Sheet can be a number or an existing sheet name
You can use also xlsfinfo to obtain the sheet names
[status,sheets] = xlsfinfo(filename)

More Answers (0)

Tags

Asked:

ppp
on 10 Jul 2019

Commented:

ppp
on 10 Jul 2019

Community Treasure Hunt

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

Start Hunting!