필터 지우기
필터 지우기

Is it possible to delete input/output ports in a variant subsystem?

조회 수: 27 (최근 30일)
Aleksandr Rodionov
Aleksandr Rodionov 2021년 9월 28일
답변: Kumar Pallav 2021년 10월 3일
Hi there!
I'm working on a Simulink model, which is using variant subsystems, containing variant blocks with different number of input ports. Based on previous choices, I want to combine outputs of the one subsystem with inputs of the other one. But if there are extra ports, I want to remove it programmatically. On the picture extra ports are fade circles. Is there a way to do this?

답변 (1개)

Kumar Pallav
Kumar Pallav 2021년 10월 3일
Please refer to this solution , in order to reduce the number of input ports on the main variant subsystem block we will have to remove the inactive 'inports' from within the variant subsystem.
Refer this for details on variant subsystem.

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by