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

1 回表示 (過去 30 日間)
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
 

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 4 月 17 日 0:00
編集済み: MathWorks Support Team 2023 年 12 月 23 日
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 件)

カテゴリ

Help Center および File ExchangeAuthor Block Masks についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by