Main Content

slreq.getOutgoingLinkTypeLabel

Retrieve outgoing link type label

Since R2023a

Description

example

label = slreq.getOutgoingLinkTypeLabel(type) returns the type label for outgoing links with the type, type.

Examples

collapse all

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

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

    'Implements'

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

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

    'Satisfies'

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

Outgoing link type label, returned as a character vector.

Version History

Introduced in R2023a