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?)

回答(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 CenterFile Exchange 中查找有关 Sources 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by