How to set 'PreserveVariableNames' to True while importing an Excel file into matlab?
90 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
WalterWhite
le 14 Jan 2020
Commenté : Fangjun Jiang
le 14 Jan 2020
I need it to keep the tables in the original format with spaces and non ASCII characters. I've read that this option is available in R2019b. But how to do it?
0 commentaires
Réponse acceptée
Fangjun Jiang
le 14 Jan 2020
help readtable
'PreserveVariableNames' Flag to preserve variable names, specified
as true or false. The default value is false. When
specified as true, MATLAB preserves variable names
that are not valid MATLAB identifiers such as variable
names that include spaces and non-ASCII characters.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!