How can I programatically change the size and position of a user-defined mask in simulink?

2 visualizaciones (últimos 30 días)
How can I programatically change the size and position of a user-defined mask in simulink?

Respuestas (1)

Ashutosh Prasad
Ashutosh Prasad el 15 de En. de 2019
You can use set_param to set the 'Position' parameter of the mask.
>> set_param(gcb, 'Position', [180, 30, 290, 230])
Follow this answer here for more details
https://www.mathworks.com/matlabcentral/answers/218042-changing-the-size-and-position-of-the-simulink-block

Categorías

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

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by