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

1 visualización (últimos 30 días)
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
 

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 17 de Abr. de 2024 a las 0:00
Editada: MathWorks Support Team el 23 de Dic. de 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'

Más respuestas (0)

Categorías

Más información sobre Author Block Masks en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by