use readtable and wrong data

3 views (last 30 days)
Luca Re
Luca Re on 8 Jun 2023
Answered: Star Strider on 8 Jun 2023
hi, i code it:
T = readtable('Predator_Setting.xlsx','Range','A1:B54')
but i see Data is different

Accepted Answer

Star Strider
Star Strider on 8 Jun 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.
.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!