How can I sum handles by index in GUI?

2 ビュー (過去 30 日間)
Elmira Jafari
Elmira Jafari 2021 年 3 月 18 日
回答済み: SACHIN KHANDELWAL 2025 年 1 月 22 日
I wrote a code and now I dont know how use "sum" to sum Q11 of lamina 1 and 2?
  1 件のコメント
Jan
Jan 2021 年 3 月 19 日
Without seeing any details of your code, it is impossible to guess, what might solve your problem.
Adding handles is not a meaningful idea.

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

回答 (1 件)

SACHIN KHANDELWAL
SACHIN KHANDELWAL 2025 年 1 月 22 日
Assume that the elements you are using for numbers (lamina1 and lamina2) are editfield components. To calculate the sum for Q11, you simply need to retrieve the values using the editfield handles and create a callback for the sum button. This way, you can achieve the desired functionality. This is based on my assumption. You may want to share the source code for further clarification..

カテゴリ

Help Center および File ExchangeMapping Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by