Simulink bus element name same as Bus name, problem with code generation
Show older comments
Hi, I'm trying to use Embedded Coder to autocode a Simulink model in which there is a huge usage of buses. Many of these buses have elements that are buses too, and unfortunately the name of the element in the bus is always the same as the name of the bus delcared in the bus element. For instance I have a bus named 'pippo', one element of this bus is a second bus. This element in 'pippo' is called 'pluto', but 'pluto' is also the name associated to the second bus in the bus editor. With Simulink 2017b I only have warnings due to this situation, but Simulink 2021b gives me the following error: both name and data type of element 'pluto' int he bus 'pippo' are same.
Is there a way in Matlab/Simulink 2021b to treat these situation as a warning instead of an error?
Thank you in advance
1 Comment
Adison Vanina
on 30 Sep 2023
Antonio,
Did you get an answer to this or figure it out? I am in the same boat and do not want to rename things.
Thanks,
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder 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!