- https://www.mathworks.com/matlabcentral/answers/146215-pass-data-between-gui-s
- http://www.mathworks.com/matlabcentral/answers/95443-how-can-i-share-data-between-two-guis-in-matlab-8-0-r2012b
How to use VARARGOUT right?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Simon Mürwald
el 17 de En. de 2017
Respondida: Jordan Ross
el 23 de En. de 2017
Hello,
this is the first time for me to use Matlab and GUIDE. I have two GUIs, and I open the the second GUI from the main GUI, after a button is pressed in the second GUI, I want it to return a cell array and save this array in a variable in the main GUI. What do I have to write in the callback function of the button and how do I have to call the second GUI out of the main GUI? And another question: when exactly is the OutputFcn called?
0 comentarios
Respuesta aceptada
Jordan Ross
el 23 de En. de 2017
Hello Simon,
To pass data between GUI's you should take a look at the following MATLAB Answers posts:
Lastly, "OutputFcn" is called after the opening function returns control and before control returns to the command line. For more information, check out the following documentation page: http://www.mathworks.com/help/matlab/creating_guis/files-generated-by-guide.html
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!