Sub GUI does not work?

조회 수: 1 (최근 30일)
Giorgi
Giorgi 2014년 11월 26일
댓글: Geoff Hayes 2014년 11월 26일
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.

채택된 답변

Geoff Hayes
Geoff Hayes 2014년 11월 26일
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.
  댓글 수: 2
Giorgi
Giorgi 2014년 11월 26일
Thanks for you idea i fixed it but now i have another problem. I am trying to create two list boxes. One will list the contents of a .MAT file, the other will hold the selected variable files that I choose when I select the variables in the first list box and hit "Select" they will move into the other list box. I am trying to update the number of items in listbox2 and keep crashing matlab.
Geoff Hayes
Geoff Hayes 2014년 11월 26일
Giorgi - you would need to post some of the code that is being used to update your list box so that we can figure out what may be causing MATLAB to crash.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by