メインコンテンツ

listRuns

List runs in MLDATX file

Since R2026a

    Description

    runList = listRuns(mldatxFileObj) lists the runs in the MLDATX file referenced by the mldatx.io.File object mldatxFileObj.

    example

    Examples

    collapse all

    Create an mldatx.io.File object referencing a saved MLDATX file.

    myFileObj = mldatxfile("MyFile.mldatx");

    Get a list of all runs in the MLDATX file.

    runList = listRuns(myFileObj)
    runList =
    
      2×4 table
    
        RunIndex          Name               DateCreated            Model  
        ________    ________________    ______________________    _________
    
           1        "Run 1: myModel"    "19-Jun-2025 16:11:32"    "myModel"
           2        "Run 2: myModel"    "19-Jun-2025 16:11:52"    "myModel"
    

    For more detailed information about the runs in the file, use getRunInfoByIndex.

    Input Arguments

    collapse all

    Reference to MLDATX file that contains the runs to list, specified as an mldatx.io.File object.

    Output Arguments

    collapse all

    List of runs, returned as a table with these columns:

    • RunIndex — Run index

    • Name — Run name

    • DateCreated — Date of run creation

    • Model — Model simulated to create run

    Version History

    Introduced in R2026a