qc_speak qc_xml_to_struct navigation bar

Table of Contents

qc_terminate_unconnected_ports

Terminates all unconnected ports in the given system.

Syntax

qc_terminate_unconnected_ports(model) Terminate ports in model
qc_terminate_unconnected_ports(sys)   Terminate ports in subsystem
qc_terminate_unconnected_ports(block) Terminate ports of block
qc_terminate_unconnected_ports        Terminate ports in current model
    

Description

Terminates all unconnected ports in the given model, subsystem or block using

Ground

MATLAB Command Line

Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:

doc simulink/Ground
and/or
Terminator

MATLAB Command Line

Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:

doc simulink/Terminator
blocks. If no model, subsystem or block is specified then it uses the current model, as returned by
bdroot

MATLAB Command Line

Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:

doc bdroot
.

Parameters

model

A string indicating the name of the model e.g. 'q_a_lpbk' or bdroot.

sys

A string or handle of a subsystem within the model.

block

The path or handle to a block within the model.

Outputs

This function has no outputs.

Examples

        qc_terminate_unconnected_ports; % Terminate all unconnected ports in the current model.
    

See Also

 

navigation bar