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!