Main Content

slreq.getIncomingLinkTypeLabel

Retrieve incoming link type label

Since R2023a

Description

label = slreq.getIncomingLinkTypeLabel(type) returns the type label for incoming links with the type, type.

example

Examples

collapse all

Retrieve the incoming link label for links with the Implement link type property.

linkLabel = slreq.getIncomingLinkTypeLabel("Implement")
linkLabel =

    'Implemented by'

Suppose you define the link type Satisfy described in Define Custom Requirement and Link Types by Using sl_customization Files. Retrieve the incoming link label for links with the Satisfy link type property.

linkLabel = slreq.getIncomingLinkTypeLabel("Satisfy")
linkLabel =

    'Satisfied by'

Input Arguments

collapse all

Link type, specified as a string scalar or character vector. You can specify the default link types, or custom link types. For more information on how to define custom link types, see Define Custom Requirement and Link Types and Properties.

Data Types: string | char

Output Arguments

collapse all

Incoming link type label, returned as a character vector.

Version History

Introduced in R2023a