MATLAB: Sub GUI does not work

functionguipushbuttonsubguiuitable

Hello Matlab gurus! I have embeded sub GUI into the main GUI, on which i have uitable and a pushbutton. The idea is that pushbutton should upload data form excel file to uitable. When i open sub GUI's m file it works but when i try to run it through main GUI it does not work and says that uitable1 does not exist. Any idea would be a great job.

Best Answer

Giorgi - are you using GUIDE to create your GUIs, or are you creating them manually? If the former, then you can communicate between the two GUIs by using the GUI/figure handles and guidata. See Pass Data between GUIs for an example.
Related Question