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!