I am using the Simulink Design Verifier on a model that uses enumerated types. Two types happen to have identical enumeration members. During the compatibility check of Simulink Design Verifier, this leads to an error message given below.
Errors occurred during translation: Please refer to the diagnostics window for more information. 'Model1' is incompatible with Simulink Design Verifier. Translation failed: Potential conflicting usages of identifier 'X': an enumeration string in data type 'Model1', and an enumeration string in data type 'Model2'
Reproduction Steps:
•Add the following files to the current working directory:
DIL_CubeDefinitions.m
GBL_Arbitration_Cmd.mdl
GBL_Arbitration_OneCntrl.mdl
GBL_Definitions_DigitalCommand.m
GBL_Definitions_DigitalControl.m
GBL_Definitions_DigitalState.m
•Open the model : 'GBL_Arbitration_OneCntrl'
•Using Design Verifier, check model compatibility for the model 'GBL_Arbitration_OneCntrl'.
Best Answer