How do I access the prompt location property in masks programmatically?
1 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2019-9-17
编辑: MathWorks Support Team
2023-12-23
I am looking for a way to set the Prompt Location property of a mask programmatically.I could not find it in the following doc:https://www.mathworks.com/help/simulink/slref/simulink.mask.simulink.mask.addparameter.html
采纳的回答
MathWorks Support Team
2024-4-17,0:00
编辑:MathWorks Support Team
2023-12-23
You can access the prompt location property in masks programmatically by the following command:
MO = get_param(gcb,'MaskObject')
MO.Parameters(1).DialogControl.PromptLocation = 'left'
0 个评论
更多回答(0 个)
另请参阅
类别
在 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!