MATLAB: Put webcam live figure inside GUI axes ?

image processingmatlab gui

I need put my live figure of webcam inside the gui axes. i tried many steps but not working. I have attached my code.Please help

Best Answer

  • See https://www.mathworks.com/help/imaq/previewing-data.html#f11-76067 for preview() specifically. For non-preview, you can
    set(hImage, 'CData', boxInserter)
    drawnow();