Main Content

show

Open and show contents of connected data source in Model Explorer

Since R2024a

    Description

    example

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

    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