Contenuto principale

closeTab

R2026b

Close Simulation Data Inspector tab

Since R2026b

    Description

    closeTab(tabObj) closes the Simulation Data Inspector tab specified by the Simulink.sdi.Tab object tabObj.

    example

    Examples

    collapse all

    Get the Simulink.sdi.Tab corresponding to the tab you want to close. Then, close the tab.

    tabGroup = Simulink.sdi.TabGroup;
    myTab = getTabByName(tabGroup,"My Tab");
    closeTab(myTab)

    Input Arguments

    collapse all

    Tab to close, specified as a Simulink.sdi.Tab object.

    Version History

    Introduced in R2026b