How do I suppress the table warning in R2017a?
조회 수: 20 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2017년 7월 7일
답변: MathWorks Support Team
2017년 7월 7일
I used to be able to use the following command to suppress the table warnings in R2016b. This no longer seems to work in R2017a:
>> warning('OFF', 'MATLAB:table:ModifiedVarnames')
How can I suppress this warning in R2017a?
채택된 답변
MathWorks Support Team
2017년 7월 7일
In MATLAB R2017a, the table warning suppression ID changed. While it used to be mapped to the ID 'MATLAB:table:ModifiedVarnames', it is now mapped to the ID 'MATLAB:table:ModifiedAndSavedVarnames'. You can find the last warning's ID with the following command:
>> [a, MSGID] = lastwarn()
a =
'Variable names were modified to make them valid MATLAB identifiers. The original names are saved in the VariableDescriptions property.'
MSGID =
'MATLAB:table:ModifiedAndSavedVarnames'
So the following command will suppress the table warning as desired:
>> warning('OFF', 'MATLAB:table:ModifiedAndSavedVarnames')
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Model and Validate Requirements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!