Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
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
 

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team vor etwa 13 Stunden
Bearbeitet: MathWorks Support Team am 23 Dez. 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'

Weitere Antworten (0)

Kategorien

Mehr zu Author Block Masks finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by