From: sazri shafie on 25 Feb 2010 15:31 i have some problem in matlab gui...i have a gui program that consists 3 pushbutton...the first one is to start the webcam...2nd one to snapshot the preview and imshow it in RGB...and the 3rd one to imshow the snapshot picture in edge detection mode.....the problem is for the 3rd button it does not update the snapshot i take...it only show only the first edge detection snapshot image no matter how many i update the snapshot picture and push the 3rd button....i use command global snapshot; setappdata(gcf,'snapshot',snapshot); >>> for the 2nd button and global snapshot; getappdata(gcf,'snapshot'); >> for third button what is the problem....how can i make the 3rd button update its data if 2nd button update its data too...thanks...
|
Pages: 1 Prev: Elements between 2 index vectors Next: Image acquisition Toolbox, Problem |