필터 지우기
필터 지우기

Drawing arbitrary connections between blocks (no Simscape)

조회 수: 1 (최근 30일)
Bardo
Bardo 2017년 10월 4일
댓글: Bardo 2017년 10월 6일
Hi,
  • Normal Simulink prevents you from connecting more than one output to an input.
  • Two-way connectors allow one pair to be connected.
  • Simscape allows an arbitrary number of physical ports to be connected.
My question: Is it possible to draw arbitrary connections between blocks without Simscape?

답변 (1개)

Nick Choi
Nick Choi 2017년 10월 6일
편집: Nick Choi 2017년 10월 6일
Is there a specific reason why the block that you want to connect all of the outputs to can't be replicated in the model? For example, if you have two output signals that you want to scale by 2, is there a reason that two 'Gain' blocks could not be used?
The 'Mux' block can create a virtual vector of signals that have the same data type and this may be helpful depending on the application. The following documentation page provides additional information on the block:
You could also use a 'Bus Creator' block to create a bus signal from multiple signals as described in this documentation page:
  댓글 수: 1
Bardo
Bardo 2017년 10월 6일
I should have emphasized that its really about recreating the drawing in Simscape/Simpower.
The actual handling of the connectivity would be done by an S-function. Ideas?

댓글을 달려면 로그인하십시오.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by