avoid sharing a videoobject / improve performance

1 vue (au cours des 30 derniers jours)
Adrian
Adrian le 27 Sep 2013
Commenté : Yair Altman le 10 Oct 2013
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?

Réponses (1)

Walter Roberson
Walter Roberson le 27 Sep 2013
You are not required to store information in the handles structure. See alternatives

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by