avoid sharing a videoobject / improve performance

1 回表示 (過去 30 日間)
Adrian
Adrian 2013 年 9 月 27 日
コメント済み: Yair Altman 2013 年 10 月 10 日
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?

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 9 月 27 日
You are not required to store information in the handles structure. See alternatives

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by