How can I programatically change the size and position of a user-defined mask in simulink?
2 次查看(过去 30 天)
显示 更早的评论
How can I programatically change the size and position of a user-defined mask in simulink?
0 个评论
回答(1 个)
Ashutosh Prasad
2019-1-15
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Author Block Masks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!