Simulink bus element name same as Bus name, problem with code generation
显示 更早的评论
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 个评论
Adison Vanina
2023-9-30
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,
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!