use readtable and wrong data
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Luca Re
el 8 de Jun. de 2023
Respondida: Star Strider
el 8 de Jun. de 2023
hi, i code it:
T = readtable('Predator_Setting.xlsx','Range','A1:B54')
but i see Data is different
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1406664/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1406669/image.png)
0 comentarios
Respuesta aceptada
Star Strider
el 8 de Jun. de 2023
Perhaps:
T = readtable('Predator_Setting.xlsx','Range','A1:B54', 'VariableNamingRule','preserve')
Eartlier versions of readtable used 'PreserveVariableNames',true so see the readtable documentation for your MATLAB version to determine how to read the file correctly.
.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing 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!