Warning: The value of enumeration member 'VT_OK' differs from when the enumeration was saved. 'VT_OK' will be loaded with the new value.

4 vues (au cours des 30 derniers jours)
When I run the Test Sequence created in Simulink Test Manager, I get the following warnings in the command window:
Warning: The value of enumeration member 'VT_OK' differs from when the enumeration was
saved. 'VT_OK' will be loaded with the new value.
Warning: The value of enumeration member 'IGN_SNA' differs from when the enumeration was
saved. 'IGN_SNA' will be loaded with the new value.
Warning: The value of enumeration member 'VSL_INACTIVE' differs from when the
enumeration was saved. 'VSL_INACTIVE' will be loaded with the new value.
Please let me know how to remove this warning.

Réponse acceptée

Nishan Nekoo
Nishan Nekoo le 9 Nov 2022
These warnings can be resolved as follows:
1) Find the Simulink.Parameter objects or other data objects in the data dictionary that use the enumeration mentioned in the warning message
2) Make minor modifications to the data object (e.g., change the description) and then save the changes
  2 commentaires
Montina
Montina le 10 Nov 2022
Modifié(e) : Montina le 10 Nov 2022
Thanks Nishan.
I have resolved this error by following the below steps:
  1. Identiifed the args.mat in which data objects were defined which caused the enumeration waning message.
  2. Reloaded only args.mat.
  3. Resaved all its simulink parameters objects in the agrs.mat without making any modifications
Nishan Nekoo
Nishan Nekoo le 10 Nov 2022
Hi Montina, awesome I'm glad that worked for you!

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by