MATLAB ヘルプ センター
Get all tabs in Simulation Data Inspector
Since R2026b
allTabs = getAllTabs(tabGroup)
allTabs = getAllTabs(tabGroup) returns an array of Simulink.sdi.Tab objects corresponding to the open tabs in the Simulation Data Inspector.
allTabs
tabGroup
Simulink.sdi.Tab
example
collapse all
First, access the Simulink.sdi.TabGroup object. Then, get the Tab objects corresponding to all open tabs in the Simulation Data Inspector.
Simulink.sdi.TabGroup
Tab
tabGroup = Simulink.sdi.TabGroup; allTabs = getAllTabs(tabGroup);
allTabs = 1×3 Tab array with properties: Name Color Index IsActive
To access a specific tab in the array, use indexing.
tab2 = allTabs(2)
tab2 = Tab with properties: Name: 'Tab2' Color: 'none' Index: 2 IsActive: 0
Collection of tabs open in the Simulation Data Inspector, specified as a Simulink.sdi.TabGroup object.
All open tabs in the Simulation Data Inspector, specified as an array of Simulink.sdi.Tab objects.
Introduced in R2026b
addTab
getTabByName
getTabByIndex
getActiveTab
closeTab
setActiveTab
closeOtherTabs
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ