Drawing arbitrary connections between blocks (no Simscape)
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!