Sum of numeric field boxes must equal 100 before user can press a plot button.

1 vue (au cours des 30 derniers jours)
I have four numeric field boxes on app designer where the user inputs a value between and including 0 and 100 for each box. Once the user has input this, they will press a plot button to run the program.
How can I make it such that the sum of the four numeric field boxes must equal 100, otherwise the user cannot press the plot button?
Thank you

Réponse acceptée

Ameer Hamza
Ameer Hamza le 20 Avr 2020
Check the attached app for an example of how it can be done.
  4 commentaires
Ashton Linney
Ashton Linney le 20 Avr 2020
Absolutely perfect, thank you sir!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by