Propagation of all the signal attributes for inports and outports
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Shushant
on 14 Mar 2023
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 Comments
See Also
Categories
Find more on Ports and Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!