how can i display a message in appdesigner in a button callback
Mostrar comentarios más antiguos
lets say we've got an if statement and i wanna display a message in appdesigner i'm asked to use a label but no idea how to do it after a code
here is an example
if closest<=5 % if the closest distance between the target and the players trajectory
app.score=app.score+10; % the players score will be increment 10 points if the trajectory was very close or hits the target
msgbox('Unbelievable ! ','Success')
but other than using a msgbox i'm asked to use a label can someone help because i tried everything and searching but nothing useful and always getting an error it is irritating!!!
9 comentarios
Mehmed Saad
el 17 de Abr. de 2020
Do you want to show message embeded inside the appdesigner figure? or just like msgbox which open seperately (uialert for Appdesigner)
omar ayman abdellateef
el 17 de Abr. de 2020
Mehmed Saad
el 17 de Abr. de 2020
omar ayman abdellateef
el 17 de Abr. de 2020
omar ayman abdellateef
el 17 de Abr. de 2020
Mehmed Saad
el 17 de Abr. de 2020
omar ayman abdellateef
el 17 de Abr. de 2020
omar ayman abdellateef
el 17 de Abr. de 2020
Sampath Rachumallu
el 8 de Mayo de 2020
I think you can use 'label' component in appdesigner which is basically a static text. You can update the 'Value' of label to display the message.
Respuestas (0)
Categorías
Más información sobre App Building en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!