use readtable and wrong data
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Luca Re
am 8 Jun. 2023
Beantwortet: Star Strider
am 8 Jun. 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 Kommentare
Akzeptierte Antwort
Star Strider
am 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.
.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!