필터 지우기
필터 지우기

position and resize a scope by line command

조회 수: 2 (최근 30일)
Azzi Abdelmalek
Azzi Abdelmalek 2012년 7월 23일
댓글: Carlos Dudas 2017년 9월 30일
I am generating my simulink models, using a command line How can i position a scope on the screen and resize it. don't confuse with the block scope on the simulink model, it's a scope when opened with open_system('muModel/scope'). the same for the gain slider
  댓글 수: 1
Carlos Dudas
Carlos Dudas 2017년 9월 30일
I was searching in the program help, and I'd find something that maybe it will help you. See "move" function. Sorry for my medium english, I am brasilian ;)

댓글을 달려면 로그인하십시오.

채택된 답변

Ryan G
Ryan G 2012년 7월 24일
I'm not sure what you mean with gain slider but this will help with the scope.
hScopes = findall(0,'Tag','SIMULINK_SIMSCOPE_FIGURE'); %get the scope handle after open_system
pos = get(hScopes,'Position');
set(hScopes,'Position',pos);
This should get you started on resizing your figure.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by