Info

This question is closed. Reopen it to edit or answer.

I'm unable to access data using xlsread

1 view (last 30 days)
sherry holmes
sherry holmes on 8 Feb 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
w=xlsread("data.xlsx",1,g9:g345");
  5 Comments
Aletta Wilbrink
Aletta Wilbrink on 8 Feb 2018
Is the name sheet1 spelled correctly? Maybe you have an capital s or a space somewhere
Walter Roberson
Walter Roberson on 8 Feb 2018
[status, sheetnames] = xlsinfo('EIG_Battery.xlsx');
will return the sheet names in the second output.

Answers (1)

Abhinav
Abhinav on 8 Feb 2018
You need to use the exact name of sheet. This is case sensitive. For e.g. if sheet name in excel workbook is Sheet1, then in function you should type Sheet1, not sheet1.

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!