How to set 'PreserveVariableNames' to True while importing an Excel file into matlab?
68 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Fangjun Jiang
2020-1-14
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.
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!