フィルターのクリア

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.
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 7 月 24 日
thanks, it works

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by