Why vid.StopFcn in Image Acquisition Toolbox doesn't work in appdesigner but works just fine in Guide?
    2 ビュー (過去 30 日間)
  
       古いコメントを表示
    
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 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
