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

34 次查看(过去 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 CenterFile Exchange 中查找有关 Develop 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