I want to design an app to calculate the BMI based on height and weight. And I have to do it as per this BMI = weight(kg) / (height (m)*height(m)) please help me
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to make an input in the App Designer panel two numerical edit fields, two labels, and one push button.
Then type in “Enter weight” for the first edit field, “Enter height” for the second, and “Compute” for the button. Finally, add a title for the App, and Dubai name and number 36.
Also I want under the code view, going to the function callback for “ConvertButtonPushed”, and retrieve the value of weight from the edit field. Also if i can do this by passing “app.EnterweightEditField.Value” to variable “Weight”.
BMI = weight(kg) / (height (m)*height(m))
PLEASE help me.
4 commentaires
Image Analyst
le 14 Nov 2022
What block diagram? You didn't attach it. You can easily to this in App Designer.
Did you try it yet?
If you have any more questions, then attach your .mlapp code with the paperclip icon after you read this:
Jan
le 15 Nov 2022
"by add comments on the code above" - you have posted 1 line only.
"to label which lines correspond to each block of the diagram you drew in Step 1" - I did not draw a diagram and do not find one in your message also.
Again: How can we help you?
Réponses (0)
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!