how to add coustum "Titlle" option for "UIaxes" via "Edit Field(Text)" in app Designer...means end user could enter and change the "Title" for different occasions and plots

10 ビュー (過去 30 日間)
if i use a UIAxes in app designer there is a option in UIAxes properties for "Tiltle" but
i want to give option to end user so he may enter title of UIAxes whatever he wants...
i think this could be done by inserting a "Edit Field(Text)" with the UIAxes but what would be the code syantax to link it with UIAxes "Title" funtionality.

採用された回答

Mario Malic
Mario Malic 2020 年 10 月 6 日
Write this in your Edit field value changed callback
ax1.Title.String = app.TitleEditField.Value;
% Where ax1 handle of your uiaxes you want to edit the title of
  5 件のコメント
taimour sadiq
taimour sadiq 2020 年 10 月 7 日
Thanks for making such especial effort for me... i think no other best demonstration possible than this demo....
taimour sadiq
taimour sadiq 2020 年 10 月 7 日
編集済み: taimour sadiq 2020 年 10 月 7 日
i restarted matlab and run the same it works... apalojize for inconvinience... Bundle of Thanks Again

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by