avoid sharing a videoobject / improve performance
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
in my GUI I implemented a videoobject with: handles.vid = videoinput('winvideo', 1, 'RGB24_320x240');
Now the performance seems to be a bit more slower everytime I use guidata(hObject, handles) or when I share data with other GUI's. Because of the second point I realy get annoyed because I don't need the videoobject in my others GUIs, just single snapshots and handles to sliders, buttons and textfields.
How could I improve?
댓글 수: 0
답변 (1개)
Walter Roberson
2013년 9월 27일
You are not required to store information in the handles structure. See alternatives
댓글 수: 1
Yair Altman
2013년 10월 10일
The wikia FAQ has changed. This is the updated URL: http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!