Main Content

show

Open and show contents of connected data source in Model Explorer

Since R2024a

    Description

    show(connectionObj) opens the connected data source connectionObj and displays the contents in Model Explorer. For the base workspace, MAT file, and data dictionary, the function opens Model Explorer and highlights the node for the data source in the Model Hierarchy pane. For the model workspace, the function opens the model and highlights the model workspace node for that model in Model Explorer.

    example

    Examples

    collapse all

    dd = Simulink.data.connect("a.sldd");
    show(dd)
    

    Input Arguments

    collapse all

    Connection to data source, specified as a Simulink.data.DataConnection object.

    Version History

    Introduced in R2024a