Main Content

getPortIdentifier

Displays attributes of specified port identifier

Since R2022a

Syntax

aMaskObj.getPortIdentifier(portIdentifier)

Description

aMaskObj.getPortIdentifier(portIdentifier) displays the attributes of the specified port identifier.

Input Arguments

expand all

Name of the port identifier, specified as character vector or string.

Data Types: char | string

Examples

aMaskObj.getPortIdentifier('pi1')
ans = 

  PortIdentifier with properties:

              Name: 'pi1'
              Type: 'Input'
    IdentifierType: 'index'
        Identifier: '2'

Version History

Introduced in R2022a