Reading excel sheetname n extracting data from that using matlab

19 views (last 30 days)
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

Alex Mcaulley
Alex Mcaulley on 10 Jul 2019
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

Community Treasure Hunt

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

Start Hunting!