Why vid.StopFcn in Image Acquisition Toolbox doesn't work in appdesigner but works just fine in Guide?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I've made an application using guide that acquires an images with the Image Acquisition Toolbox. In the Start callback function I initialize the property vid.StopFnc like that :
vid.StopFcn = {@StopRun, handles};
Then the function is :
function StopRun(vid,event, handles)
% Set Interface
handles.toggle_StartAcq.BackgroundColor = [0.3 0.75 0.93];
handles.toggle_StartAcq.Value = 0;
handles.push_FlushIm.Enable = 'on';
When I do the same with appdesigner I always get this error : Undefined function 'StopRun' for input arguments of type 'videoinput'.
I get this error with private or public function.
Anyone knows what happening?
Thanks
Denis
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 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!