Guide : fonction pour afficher une valeur

6 visualizaciones (últimos 30 días)
franck fleuriot
franck fleuriot el 5 de Abr. de 2016
Comentada: Walter Roberson el 5 de Abr. de 2016
Bonjour,
Je souhaite créer une fonction me permettant d'afficher dans un static text le résultat d'un produit de deux valeurs que l'utilisateurs aurait rentré dans deux edit text.
Cf photo : "incidents répertoriés x Période = résultat dans le cadre beige à droite"

Respuestas (1)

Orion
Orion el 5 de Abr. de 2016
Editada: Orion el 5 de Abr. de 2016
Hello Franck,
First, you should post your question in english. This way, everybody can understand your question.
About it, you are creating a GUI with GUIDE. To perform the operation you want, you need to modify the callback of your pushbutton.
Assuming your buttons are named like the ones in this image.
you need to go in the generated code :
and modify the content of the callback to do what you want :
  2 comentarios
franck fleuriot
franck fleuriot el 5 de Abr. de 2016
Thx a lot, sry didn't thought to post in english, i'll next time.
Walter Roberson
Walter Roberson el 5 de Abr. de 2016
Note: it is not required to post in English. You can post in any language that you feel comfortable in. However, you would be more likely to get a response if you post in English.

Iniciar sesión para comentar.

Categorías

Más información sobre Migrate GUIDE Apps 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