- Check for naming conflicts: Make sure there are no other variables, functions, or data types with the same name that could cause conflicts.
- Rename the conflicting identifier: To resolve the conflict, you need to rename either the data type or the top-level function.
- 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.
- 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.
Potential conflicting usages of identifier 'XXXXYY': a data type, and the name of a top level function for the model 'XXXX'
472 views (last 30 days)
Show older comments
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'
0 Comments
Answers (1)
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:
Thanks,
Ayush Jaiswal
0 Comments
See Also
Categories
Find more on Generate Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!