use readtable and wrong data

hi, i code it:
T = readtable('Predator_Setting.xlsx','Range','A1:B54')
but i see Data is different

 Respuesta aceptada

Star Strider
Star Strider el 8 de Jun. de 2023

1 voto

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.
.

Más respuestas (0)

Categorías

Más información sobre Data Import from MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 8 de Jun. de 2023

Respondida:

el 8 de Jun. de 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by