I am getting the following error while generating code from MATLAB Simulink,Potential conflicting usages of identifier '': the "signal connected to output Port 1 and datatype
15 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
When I try to generate the code from my simulink model, I am getting a potential conflicting usage of identifier for a signal name and a bus data type. I tried increasing the Maximum identifier length upto 256 but still I am getting the same error. Is there any other solution for this problem or is there a way to ignore the error?
0 Commenti
Risposte (1)
Ayush
il 31 Mag 2023
The error you are facing is probably due to the fact that there is a conflict between a signal name and a bus data type identifier. Simply increasing the maximum identifier length may not resolve the issue. Here are a few things you could try to resolve the conflict:
1. Rename conflicting signals/buses: You could try renaming the signal or bus data type to something that doesn't collide with any signal names.
2. Use the short name for signal/buses: you can try using shorter, simpler names for your signals and/or bus objects. This can often help avoid naming conflicts.
3. Use a namespace: If you are working on a large-scale project with many namespaces, consider using namespaces to avoid naming collision.
If none of these solutions help you resolve the issue, kindly share the model so that I can reproduce it on my end and investigate it.
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!