How can I sum handles by index in GUI?

1 Ansicht (letzte 30 Tage)
Elmira Jafari
Elmira Jafari am 18 Mär. 2021
I wrote a code and now I dont know how use "sum" to sum Q11 of lamina 1 and 2?
  1 Kommentar
Jan
Jan am 19 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

SACHIN KHANDELWAL
SACHIN KHANDELWAL am 22 Jan. 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..

Kategorien

Mehr zu Mapping Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by