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 CenterFile Exchange에서 Ports and Subsystems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by