フィルターのクリア

Propagation of all the signal attributes for inports and outports

1 回表示 (過去 30 日間)
Ewik
Ewik 2022 年 12 月 29 日
回答済み: Shushant 2023 年 3 月 14 日
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?)

回答 (1 件)

Shushant
Shushant 2023 年 3 月 14 日
Hi @Ewik,
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.

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by