Propagation of all the signal attributes for inports and outports
1 回表示 (過去 30 日間)
古いコメントを表示
Is it possible to propagate all the signal attributes of inports and outports? My question step-by-step:
1. In the last level of nesting I defined all necessary attributes:
2. I made a Subsystem from it:
and then I want that signal attributes from inports and outports propagate automatically from the Subsystem (lowest nesting level) to the next level.
Now I have to define Bus type also for Out1 but I defined it in Subsystem, but it didn't propagate to the higher level and I got an error which forces me to specify a bus data type:
Is it possible to automatically propagate the inport and outport attributes to the higher level or I need to define signal attribues for inports and outports manually (including inport and outport name?)
0 件のコメント
回答 (1 件)
Shushant
2023 年 3 月 14 日
I tried to reproduce the issue at my end, unfortunately I am not getting any kind of error. Please look at the below screenshot for the same.
I would recommend that you check if the "inports" and "outports" are all set to "inherit".
If this doesn't resolve your issue, in order to better assist you, kindly share your Simulink model file.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Ports and Subsystems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!