Path: news.mathworks.com!not-for-mail
From: "Phil Au" <philipawt@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: GUI question
Date: Mon, 18 Feb 2008 10:49:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 44
Message-ID: <fpbnqu$2in$1@fred.mathworks.com>
References: <fpaofr$ru7$1@fred.mathworks.com> <fpb2v8$5s4$1@canopus.cc.umanitoba.ca>
Reply-To: "Phil Au" <philipawt@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1203331742 2647 172.30.248.35 (18 Feb 2008 10:49:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 18 Feb 2008 10:49:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1283662
Xref: news.mathworks.com comp.soft-sys.matlab:452075


Hi Walter,

Thx for your reply first.
It was used in the Browse button, whem i press the button, 
it was supposed to select an image file and if I selected a 
file, it will display the path of the file in an edit box,
and diplay the details of the img and the actual img. 

But I i press the cancel button, the edit box which used to 
display the path of the file is disappeareed and when I 
press the button again, I got this error..

Thanks for your time and help


> 
> >And also when I use the filesparts function, when I 
press 
> >the cancelbutton
> 
> >I get this error~~ 
> 
> >?? Error using ==> fileparts at 17
> >Input must be a row vector of characters.
> 
> >Here's my code
> >
> 
> >    [file,path] = uigetfile([pathstr '*.jpg'],'Select an 
image');
> 
> What is the documented output result when you cancel a 
uigetfile
> dialog?
> -- 
>   "Why does he stagger his mind with the mathematics of 
the sky?
>   Once the question mark has arisen in the human brain 
the answer must
>   be found, if it takes a hundred years. A thousand 
years."
>                                               -- Walter 
Reisch