Main Content

Simulink.ConstraintManager Class

Namespace: Simulink

Manage parameter and port constraints

Since R2024b

Description

Launch standalone constraint manager using Simulink.ConstraintManager.open. Mask constraints help you to create validations on a mask parameters and ports without writing validation code. The standalone Constraint Manager allows you to author and manage shared constraints independently without a block context. The constraint definitions are saved in an XML file and reused across multiple block masks.

Associating the constraints to a parameter or a port is not supported from the standalone Constraint Manager. It must be done at the individual block level using the Mask Editor.

The Simulink.ConstraintManager class is a handle class.

Methods

expand all

Version History

Introduced in R2024b