Handles and data between Gui's
이전 댓글 표시
hey , i have to guis and i want to put values of the first window in second , how can i do it
i use setappdata , and getappdata , but i think i didn't use it on right way
댓글 수: 8
Rik
2021년 5월 10일
Does one of them call the other? Or can both GUIs be expected to be unique (i.e. that only one of them will run at any point in time)?
outmane charrouf
2021년 5월 10일
outmane charrouf
2021년 5월 10일
Rik
2021년 5월 10일
If it is a second window of that same program, you can easily pass the handle to the main GUI figure as an argument when creating the second GUI. You can use setappdata and getappdata, but guidata is also an option.
Jan
2021년 5월 10일
Are the GUIs figure or uifigures? Are you using GUIDE, AppDesigner or do you create the GUIs by code?
Rik
2021년 5월 10일
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
outmane charrouf
2021년 5월 10일
Rik
2021년 5월 10일
How are you transfering the handle from the first to the second GUI? How do you expect us to fix this issue for you if you don't answer the questions we post? You haven't actually answered any of our questions so far.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!