use readtable and wrong data
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Luca Re
le 8 Juin 2023
Réponse apportée : Star Strider
le 8 Juin 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 commentaires
Réponse acceptée
Star Strider
le 8 Juin 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Whos dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!