Main Content

Simulink.Mask.Constraints.convertMatToXML

Convert shared constraints from MAT to XML file format

Since R2023a

    Description

    example

    Simulink.Mask.Constraints.convertMatToXML(matFileName,xmlFileName) convert a MAT file containing constraints into an XML file.

    Examples

    collapse all

    Specify the name of the MAT file, exampleSharedConstraintsand the XML file, sharedConstraintsfile' as the argument to the method.

    Simulink.Mask.Constraints.convertMatToXML('exampleSharedConstraints'...
    ,'sharedConstraintsfile')
    

    Input Arguments

    collapse all

    Name of the MAT file that contains the shared constraints, specified as a character vector or string.

    Data Types: char | string

    Name of the XML file , specified as a character vector or string.

    Data Types: char | string

    Version History

    Introduced in R2023a