Main Content

Simulink.SharedConstraintFile Class

Namespace: Simulink

Constraints that needs to be saved in an XML file

Since R2023a


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.


expand all

Public Properties

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


expand all

Version History

Introduced in R2023a