主要内容

systemcomposer.sysml.exportFromMLProject

Export project to SysML v2 textual file

Since R2026a

    Description

    systemcomposer.sysml.exportFromMLProject(projectPath,exportedFile) exports the MATLAB® project in projectPath to the SysML® v2 textual file specified by exportedFile.

    example

    Examples

    collapse all

    Export the specified MATLAB project to a SysML v2 textual file.

    projectPath = "/matlab/scKeylessEntrySystem.prj";
    exportedFile = "sysmlKeylessEntry.sysml";
    systemcomposer.sysml.exportFromMLProject(projectPath,exportedFile)

    Input Arguments

    collapse all

    Path to project (.prj) file that contains the artifacts to export to SysML v2, specified as a string.

    Data Types: string

    Exported file with a .sysml extension, specified as a string.

    Data Types: string

    More About

    collapse all

    Version History

    Introduced in R2026a