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

26 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Mario Malic
Mario Malic el 6 de Oct. de 2020
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 comentarios
taimour sadiq
taimour sadiq el 7 de Oct. de 2020
Thanks for making such especial effort for me... i think no other best demonstration possible than this demo....
taimour sadiq
taimour sadiq el 7 de Oct. de 2020
Editada: taimour sadiq el 7 de Oct. de 2020
i restarted matlab and run the same it works... apalojize for inconvinience... Bundle of Thanks Again

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by