How can I programatically change the size and position of a user-defined mask in simulink?
Show older comments
How can I programatically change the size and position of a user-defined mask in simulink?
Answers (1)
Ashutosh Prasad
on 15 Jan 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
1 Comment
George Boukarim
on 16 Jan 2019
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!