MATLAB Answers

Why enum comparison is Incorrect??

4 views (last 30 days)
galaxy on 6 Jun 2021
Commented: galaxy on 6 Jun 2021
Dear all,
I am checking my model by MAAB.
When I check jc_0651: Implementing a type conversion style, there is warning where I compare enums.
Do you can explain to me? or give me reference document for explain it.
Thank you so much.

Accepted Answer

Walter Roberson
Walter Roberson on 6 Jun 2021
Recently when I was skimming some of the release notes for versions much newer than you have, I noticed some bug fixes have been made for working with enum in Simulink.
You might need to upgrade. (You might be able to get a trial so you can test whether the new version solves the problem.)
  1 Comment
galaxy on 6 Jun 2021
Thank you for your comment.
I will upgrade for checking again.
Thank you

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!

Translated by