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 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Image Analyst
2022 年 11 月 14 日
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
2022 年 11 月 15 日
"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?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!