- 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'
384 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Ayush
2023-8-29
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!