How can I programatically change the size and position of a user-defined mask in simulink?
1 view (last 30 days)
Show older comments
How can I programatically change the size and position of a user-defined mask in simulink?
0 Comments
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
See Also
Categories
Find more on Subsystems 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!