Main Content

saveConstraints

Saves the constraint in the XML file

Since R2023a

    Description

    example

    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.

    Examples

    collapse all

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

    fileobj.saveConstraints

    Version History

    Introduced in R2023a