How do I access the prompt location property in masks programmatically?

1 view (last 30 days)
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
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'

More Answers (0)

Categories

Find more on Author Block Masks in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!