Edit field numeric appdesigner
2 ビュー (過去 30 日間)
古いコメントを表示
Hello! Is there some way in appdesigner to have a variable after an edit field (numeric)?
For an example I see image 1. I want an edit field where the user knows that the value he choses is being multiplied with the variable X.
Is this possible? Thank you!
0 件のコメント
採用された回答
Cris LaPierre
2022 年 5 月 23 日
I would use the Label component to add the '*X' to the right of the edit field.
その他の回答 (1 件)
Voss
2022 年 5 月 23 日
Yes. You can have two uilabels associated with that NumericEditField, one uilabel with Text 'Distance :' to the left of the NumericEditField and one uilabel with Text '*X' to the right of the NumericEditField.
Of course, it will be up to your code to do the correct operation (multiplying the input by X).
参考
カテゴリ
Help Center および File Exchange で Text Analytics Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!