Filter löschen
Filter löschen

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 Ansichten (letzte 30 Tage)
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 Kommentare
Image Analyst
Image Analyst am 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 am 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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by