The excel file has three sheets and contains both text and data. As far as I understand, one can choose to write the number of the sheet that you want to import from, or the name of it enclosed in apostrophes.
The one line of code that I use is this:
[num,txt,both] = xlsread('Lugnet_plan1c.xls',2,'a1:ad11')
And the error message that I get is:
??? Error using ==> horzcat The following error occurred converting from logical to char: Error using ==> char Conversion to char from logical is not possible.
Error in ==> Lugnet_test at 6 [num,txt,both] = xlsread('Lugnet_plan1c.xls',2,'a1:ad11')
I could upload the xls-file, or copy-paste the content of it here if it would help?