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!