How can I sum handles by index in GUI?

1 visualización (últimos 30 días)
Elmira Jafari
Elmira Jafari el 18 de Mzo. de 2021
Respondida: SACHIN KHANDELWAL el 22 de En. de 2025
I wrote a code and now I dont know how use "sum" to sum Q11 of lamina 1 and 2?
  1 comentario
Jan
Jan el 19 de Mzo. de 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.

Iniciar sesión para comentar.

Respuestas (1)

SACHIN KHANDELWAL
SACHIN KHANDELWAL el 22 de En. de 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..

Categorías

Más información sobre Mapping Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by