I'm unable to access data using xlsread
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
w=xlsread("data.xlsx",1,g9:g345");
댓글 수: 5
androidguy
2018년 2월 8일
Your excel sheet might not have sheet 1 or has a different name. So you need to check the excel sheet or just leave the sheet name out of the function and try again.
SOC = xlsread('EIG_Battery.xlsx','g9:g86')
per isakson
2018년 2월 8일
편집: per isakson
2018년 2월 8일
Whould a capital S help
Sheet1
?
Walter Roberson
2018년 2월 8일
Try
SOC=xlsread('EIG_Battery.xlsx',1,'g9:g86');
Aletta Wilbrink
2018년 2월 8일
Is the name sheet1 spelled correctly? Maybe you have an capital s or a space somewhere
Walter Roberson
2018년 2월 8일
[status, sheetnames] = xlsinfo('EIG_Battery.xlsx');
will return the sheet names in the second output.
답변 (1개)
Abhinav
2018년 2월 8일
0 개 추천
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.
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!