Borrar filtros
Borrar filtros

position and resize a scope by line command

2 visualizaciones (últimos 30 días)
Azzi Abdelmalek
Azzi Abdelmalek el 23 de Jul. de 2012
Comentada: Carlos Dudas el 30 de Sept. de 2017
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 comentario
Carlos Dudas
Carlos Dudas el 30 de Sept. de 2017
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 ;)

Iniciar sesión para comentar.

Respuesta aceptada

Ryan G
Ryan G el 24 de Jul. de 2012
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.

Más respuestas (0)

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by