How can I sum handles by index in GUI?

1 view (last 30 days)
Elmira Jafari
Elmira Jafari on 18 Mar 2021
Answered: SACHIN KHANDELWAL on 22 Jan 2025
I wrote a code and now I dont know how use "sum" to sum Q11 of lamina 1 and 2?
  1 Comment
Jan
Jan on 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.

Sign in to comment.

Answers (1)

SACHIN KHANDELWAL
SACHIN KHANDELWAL on 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..

Tags

Community Treasure Hunt

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

Start Hunting!