MATLAB: How to read the Sheet name present in any Excel file

importing excel data

I am working on a script , that will read the data present in an excel file. The sheet is an standard template one . There are many Sheets present in a excel file (and will vary depending upon the various products that we have … and i am trying to make a general script that will work over all excel files).
Is there any way to find out the names of the sheets in the excel file ?
I have tried 'xlsread' , but that didn't help much
is there any command that will help me fetch the total number of sheets and their names ?
Regards, Ajay

Best Answer

"xlsfinfo" will get you a list of sheet names.