Azzera filtri
Azzera filtri

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 visualizzazioni (ultimi 30 giorni)
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 Commenti
Image Analyst
Image Analyst il 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
Jan il 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?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by