Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
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
 

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 17 Avr 2024
Modifié(e) : MathWorks Support Team le 23 Déc 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'

Plus de réponses (0)

Catégories

En savoir plus sur Author Block Masks dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by