How do I access the prompt location property in masks programmatically?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 17 Sep 2019
Edited: MathWorks Support Team
on 23 Dec 2023
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
Accepted Answer
MathWorks Support Team
on 17 Apr 2024 at 0:00
Edited: MathWorks Support Team
on 23 Dec 2023
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 Comments
More Answers (0)
See Also
Categories
Find more on Author Block Masks 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!