Clear Filters
Clear Filters

Potential conflicting usages of identifier 'XXXXYY': a data type, and the name of a top level function for the model 'XXXX'

316 views (last 30 days)
I'm getting this error when trying to build an arxml generated model.
Potential conflicting usages of identifier 'XXXXYY': a data type, and the name of a top level function for the model 'XXXX'

Answers (1)

Ayush
Ayush on 29 Aug 2023
The error message you received indicates a potential conflict in the usage of the identifier 'XXXXYY' within your model 'XXXX'. The conflict arises because 'XXXXYY' is being used as both a data type and the name of a top-level function in the model.
Here is the workflow to avoid such errors:
  1. Check for naming conflicts: Make sure there are no other variables, functions, or data types with the same name that could cause conflicts.
  2. Rename the conflicting identifier: To resolve the conflict, you need to rename either the data type or the top-level function.
  3. Update dependent components: If the renamed identifier is used in other parts of your model, such as subsystems or referenced models, make sure to update those components as well to reflect the new name.
  4. Rebuild and test: After making the necessary changes, rebuild your model and test it to ensure that the conflict has been resolved and that the model functions as expected.
Thanks,
Ayush Jaiswal

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!