How to prevent graphs from popping up in simulink

조회 수: 7 (최근 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 CenterFile Exchange에서 Event Functions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by