How can I disconnect and reconnect a line in Simulink clicking on a special block?
66 views (last 30 days)
Show older comments
A new block with the following features would help when debugging models:
It would have 1 input, 1 output, 2 states (connected/disconnected) and a parameter specifying what to be put on the output in case of a disconnection (e.g. constant value or ground). It would be nice to have also a graphics on the block, showing connection or not.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The ability to disconnect or reconnect a line using a special block is not available in Simulink.
To work around this issue, please create your own custom block containing a switch-block which allows you to switch the output port to the main input, to ground or to certain constant value.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!