simscape.removeConnection
Description
simscape.removeConnection(
removes the connection line that leads to the specified port, block,portName)portName,
on the block, block, leaving the other connections intact.
Supported block types include:
Simscape™ blocks in the Foundation and Utilities libraries and in the add-on product libraries
Custom Simscape blocks
Simscape Multibody™ blocks
Subsystems containing Simscape or Simscape Multibody blocks
Examples
Input Arguments
Limitations
Two-way connection ports are not supported.
Version History
Introduced in R2026a

