主要内容

partrepo.collection.preview

Display contents of collection

Since R2026a

    Description

    partrepo.collection.preview(collectionMLDATX) displays the contents of the specified collection.

    example

    Examples

    collapse all

    This example shows how to preview the contents of a part collection MLDATX.

    Specify the path of the collection MLDATX file as an input argument for the partrepo.collection.preview function.

    partrepo.collection.preview("MyResistors_1.0.0.mldatx")
    Collection ID: MyOrg.MyResistors 
    Version: 1.0.0 
    
    Data set IDs:
       MyManufacturer|R-0001|Resistor 1
       MyManufacturer|R-0002|Resistor 2
       MyManufacturer|R-0003|Resistor 3 
    
    Blocks with data sets from this collection:
       fl_lib/Electrical/Electrical Elements/Resistor

    Input Arguments

    collapse all

    Path of the collection file that you want to preview, specified as a string scalar or character vector. The file must be an MLDATX file.

    Version History

    Introduced in R2026a