Main Content

saveConstraints

Class: Simulink.Mask.SharedConstraintFile
Namespace: Simulink.Mask

Save constraint in XML file

Since R2023a

Description

fileobj.saveConstraints saves a constraint in an XML file in the current directory. Use an instance of Simulink.Mask.SharedConstraintFile, fileobj to save the constraint in the XML file.

example

Examples

expand all

Save a shared constraint as an XML file by using a Simulink.Mask.SharedConstraintFile object.

fileobj.saveConstraints

Version History

Introduced in R2023a