MATLAB: How to read single sheet from multiple sheets of excel file

multiple sheetxlsread

I have imported an excel file with multiple sheets.
Using xlsinfo, i extract the sheet names in the excel file.
[~,sheetName]=xlsfinfo(file);
How can i choose the sheet to read after obtaining the sheetname?
I tried worksheet=xlsread(file,'Title');
but that would require me to input the title every single time.
Also, it only reads numeric, I would need to read characters as well.

Best Answer

num = xlsread(filename,sheet)
In the place of sheet, you specify the sheet number.
Also read about readtable.