I have 10 Excel files with 50 sheets in each, every sheet has a different name. I want load all sheets' names into MATLAB, put them into a cell string. Is it possible to 'xlsread' command to do this? Or is there other ways?
Thanks!
You can use xlsfinfo
to get a list of sheet names in an excel file.
[status,sheets] = xlsfinfo(filename)
The variable sheets will contain a cell array with the sheet names.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With