How to set 'PreserveVariableNames' to True while importing an Excel file into matlab?
조회 수: 49 (최근 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.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!