use readtable and wrong data

3 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by