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 and/or Terminator blocks. If no model, subsystem or block is specified then it uses the current model, as returned by 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