Facing issue( Enum class name is prefixed in 2019b )

1 回表示 (過去 30 日間)
HongGyun Kim
HongGyun Kim 2020 年 7 月 2 日
回答済み: Christian Bard 2020 年 7 月 27 日
Enum type is defined in .c file and used as a parameter.
In 2011b version, it is defined as typedef, and the name in the column is generated well.
In 2019b, the enum class name is prefixed.
I don't know how do I solve and addClassNameToEnumNames is not defined.

回答 (1 件)

Christian Bard
Christian Bard 2020 年 7 月 27 日
Dear HongGyun Kim,
There is 8 years between the two versions of Polyspace. In 8 years Polyspace compiler did improve and matches better compiler behaviors and syntaxes (see documentation here about compilers supported by Polyspace:https://www.mathworks.com/help/bugfinder/ref/compilercompiler.html). It includes enum declaration and usage.
Description of the issue is quite vague. Would it be possible for you to contact technical support with a small sample associated with options used demonstrating Polyspace compilation issue?
Many thanks,
Christian

Community Treasure Hunt

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

Start Hunting!

Translated by