Main Content

Simulink.Mask.SharedConstraintFile Class

Namespace: Simulink.Mask

Constraints that needs to be saved in an XML file

Since R2023a

Description

Use an instance of Simulink.Mask.SharedConstraintFile to create constraint in an XML file. You can create constraints in a file and share it across multiple parameters or ports.

Properties

expand all

Name of the XML file where the constraints are stored, specified as a character vector.

Data Types: char | string

Create shared constraints in an XML file, specified as an object of Simulink.Mask.Constraints.

Data Types: cell array

Create shared port constraint in an XML file, specified as an object of Simulink.Mask.PortConstraint.

Data Types: cell array

Methods

expand all

Version History

Introduced in R2023a