From: Hardik on 6 May 2010 07:01 i wanted to ask another question...When the Axes Box does not contain any image and when user clicks on the Push button then an error should come or another MSGBOX should be displayed sayin "Pllease upload an image" What shall we do in dis case??? what is the condition to check whether the axes box is empty or not... thanx in advance
From: Hardik on 6 May 2010 08:41 "Hardik " <hardik_88(a)hotmail.com> wrote in message <hru7hi$gf5$1(a)fred.mathworks.com>... > i wanted to ask another question...When the Axes Box does not contain any image and when user clicks on the Push button then an error should come or another MSGBOX should be displayed sayin "Pllease upload an image" What shall we do in dis case??? > what is the condition to check whether the axes box is empty or not... > > thanx in advance ui tried writing the follow if get(0,'CurrentFigure') % if the axes is empty warndlg('Please Upload an Image','Upload Image'); else Tot=test_eucled(fullFileName); % link to d other file end but now its showing the alert box even when an image is uploaded.... how do i solve dis problem??
|
Pages: 1 Prev: Matrix that contains both numbers and strings? Next: I uploded the image to drop.io |