Main Content

Simulink.Mask.CrossPortConstraint Class

Namespace: Simulink

Creates cross-port constraint among ports of the same masked block

Since R2023a

Description

Use an instance of Simulink.Mask.CrossPortConstraint to create a cross-port constraint among ports of same masked block.

Properties

expand all

Name of the cross-port constraint, specified as a character vector.

Data Types: char | string

Rule for the cross-port constraint, specified as a character vector.

Data Types: char | string

Mask parameter conditions, specified as an object of Simulink.Mask.ParameterCondition.

Data Types: char | string

Associate port identifiers with cross-port constraints, specified as a cell array. Separate identifiers with commas.

Data Types: cell

Type of diagnostic message displayed when validation condition fails, specified as error or warning.

Data Types: char | string

Diagnostic message to display when validation fails, specified as character vector.

Data Types: char | string

Methods

expand all

Version History

Introduced in R2023a