How can I sum handles by index in GUI?

1 visualizzazione (ultimi 30 giorni)
Elmira Jafari
Elmira Jafari il 18 Mar 2021
Risposto: SACHIN KHANDELWAL il 22 Gen 2025
I wrote a code and now I dont know how use "sum" to sum Q11 of lamina 1 and 2?
  1 Commento
Jan
Jan il 19 Mar 2021
Without seeing any details of your code, it is impossible to guess, what might solve your problem.
Adding handles is not a meaningful idea.

Accedi per commentare.

Risposte (1)

SACHIN KHANDELWAL
SACHIN KHANDELWAL il 22 Gen 2025
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..

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by