once do
f = figure (5, 'Position', [2 42 681 642]); imh = imshow(frame);
After that, each time in the loop do
set(imh, 'CData', new_frame); drawnow();
without any imshow() or figure() call.
once do
f = figure (5, 'Position', [2 42 681 642]); imh = imshow(frame);
After that, each time in the loop do
set(imh, 'CData', new_frame); drawnow();
without any imshow() or figure() call.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!