MATLAB: Passing data between two different GUI windows

guilinkMATLAB

I am a beginner with MATLAB GUIs. I have two GUI figure windows. I want to transfer data from a textbox in the first GUI figure to another second GUI figure & want to use that data in second GUI figure.

Best Answer

Assuming you are using GUIDE to generate your GUIs, you can simply use the tag of the editbox in the first GUI to find it in the second GUI. For example, from within the second GUI callback use:
findall(0,'tag','editbox1tag')