Borrar filtros
Borrar filtros

passing arrays between functions?

1 visualización (últimos 30 días)
new user 00
new user 00 el 5 de Jul. de 2018
Editada: Stephen23 el 5 de Jul. de 2018
I have two fields in a file which are arrays. I've loaded them in one callback function of a gui. But I need them in another callback function for some calculations. How do I do this?
  2 comentarios
Stephen23
Stephen23 el 5 de Jul. de 2018
Editada: Stephen23 el 5 de Jul. de 2018
  • If you are using GUIDE then use guidata.
  • If you are sensibly writing your own code then use nested functions:

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps 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