how to import date with other variables from the XLX file.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
UPANANDA PANI
el 7 de Oct. de 2021
Editada: Star Strider
el 7 de Oct. de 2021
Dear All,
I want to import data with the 875*4 data. The first row represents the name of the variables. I have attached the data set for your reference.
Looking forward to your help in this regard
With best regards,
Upananda
0 comentarios
Respuesta aceptada
Star Strider
el 7 de Oct. de 2021
Editada: Star Strider
el 7 de Oct. de 2021
T1 = readtable('https://www.mathworks.com/matlabcentral/answers/uploaded_files/760931/MCXCOMEX.xlsx', 'VariableNamingRule','preserve')
EDIT — (7 Oct 2021 at 15:16)
Retrieving the header information (variable names) is also straightforward —
VN = T1.Properties.VariableNames
Access the contents of ‘VN’ as with any cell array.
.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!