I'm unable to access data using xlsread
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
w=xlsread("data.xlsx",1,g9:g345");
5 comentarios
androidguy
el 8 de Feb. de 2018
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
el 8 de Feb. de 2018
Editada: per isakson
el 8 de Feb. de 2018
Whould a capital S help
Sheet1
?
Walter Roberson
el 8 de Feb. de 2018
Try
SOC=xlsread('EIG_Battery.xlsx',1,'g9:g86');
Aletta Wilbrink
el 8 de Feb. de 2018
Is the name sheet1 spelled correctly? Maybe you have an capital s or a space somewhere
Walter Roberson
el 8 de Feb. de 2018
[status, sheetnames] = xlsinfo('EIG_Battery.xlsx');
will return the sheet names in the second output.
Respuestas (1)
Abhinav
el 8 de Feb. de 2018
0 votos
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.
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!