How to read xls file without changing variable names.

If I use the command,
nameDb = readtable(xl_file, 'sheet','Data');
there is a warning.
Warning: Variable names were modified to make them valid MATLAB identifiers. The original names are saved in the
VariableDescriptions property.
I do not want to change my variables name.
How should I read my xls file?

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 1 月 16 日

0 投票

Upgrade to a newer matlab release; that was an enhancement after your version.

1 件のコメント

Kishankumar Dholariya
Kishankumar Dholariya 2020 年 1 月 16 日
Update should not be a solution for me!

サインインしてコメントする。

製品

リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by