use readtable and wrong data

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

 采纳的回答

Star Strider
Star Strider 2023-6-8

1 个投票

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 个)

类别

帮助中心File Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by