Main Content


Get full paths of Simulink data dictionaries referenced by another Simulink data dictionary

Since R2023b



    refDictNames = getReferences(archDataObj) returns a cell array of the full paths of the data dictionaries that are referenced by the data dictionary with Architectural Data object archDataObj.


    collapse all

    Get full paths of data dictionaries referenced from the data dictionary MyInterfaces.sldd. For an example that shows more of the workflow for related functions, see Create Architectural Data Object and Use It to Configure Architectural Data.

    archDataObj ="MyInterfaces.sldd");
    refDicts = getReferences(archDataObj)
    refDicts =
      2×1 cell array

    Input Arguments

    collapse all

    Architectural Data object, specified as a Simulink.dictionary.ArchitecturalData object.

    Output Arguments

    collapse all

    Full paths of referenced data dictionaries represented as full paths, returned as a cell array of character vectors.

    Example: {'C:\work\ReferenceInterfaces1.sldd'}

    Version History

    Introduced in R2023b