フィルターのクリア

How to input multiple values into Edit Field in APP Designer?

18 ビュー (過去 30 日間)
Xiao Jin
Xiao Jin 2020 年 1 月 16 日
Hello everyone,
now I'd like to make a simple calculation in App Designer. For example, the function ist y=x+1. Can I enter multiple x (1,2,3......) in the Numeric Edit Field, and then, when I click a button, the multiple results y are calculated in another Edit Field.
I hope for you help! Thanks!
Best Regards
Xiao
  2 件のコメント
Patrizio Graziosi
Patrizio Graziosi 2020 年 1 月 27 日
If the inputted array is in the form 100:10:1000, the solutions proposed in the link in the answer do not work, and I cannot work it out...
Do someone have an idea to sort this out?
Thanks
Alfonso Gomez Puello
Alfonso Gomez Puello 2020 年 7 月 24 日
You could maybe ask for the initial and final value of x in two different Edit Fields, and with a "for" using those parameters, run your function.

サインインしてコメントする。

採用された回答

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi 2020 年 1 月 20 日
Edit field treats the data entered a single string (if style is not specified as numeric). So you could possibly write a callback to the edit field which parses the string and convert them into Numerics and hence compute required functionality with them.
Referring to the following link might help you
  1 件のコメント
Xiao Jin
Xiao Jin 2020 年 2 月 3 日
I'll try it. Thanks for your help!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by