How to prevent graphs from popping up in simulink

8 ビュー (過去 30 日間)
Darren Koh
Darren Koh 2018 年 2 月 27 日
コメント済み: Darren Koh 2018 年 2 月 27 日
I have several scopes in my simulink diagram that plots graphs and it is getting quite troublesome to turn off all individually if I just want to make minute changes in inputs to see how certain values change in my main program. How do I hide/disable it temporarily without removing the scope block entirely?

回答 (1 件)

ES
ES 2018 年 2 月 27 日
HidHandles = get(0,'ShowHiddenHandles');
set(0,'ShowHiddenHandles','On');
AllScopeHandles = findobj(0,'Type','Figure','Tag','SIMULINK_SIMSCOPE_FIGURE');
close(AllScopeHandles );
set(0,'ShowHiddenHandles',HidHandles);
  1 件のコメント
Darren Koh
Darren Koh 2018 年 2 月 27 日
Hi there thanks for your answer! But I'm wondering if this can be done in the simulink but not matlab itself is it still possible?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by