How do I access the prompt location property in masks programmatically?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 17 de Sept. de 2019
Editada: MathWorks Support Team
el 23 de Dic. de 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
Respuesta aceptada
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'
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Author Block Masks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!