Path: news.mathworks.com!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: GUI question
Date: Mon, 18 Feb 2008 04:52:56 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 23
Message-ID: <fpb2v8$5s4$1@canopus.cc.umanitoba.ca>
References: <fpaofr$ru7$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1203310376 6020 192.70.172.160 (18 Feb 2008 04:52:56 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Mon, 18 Feb 2008 04:52:56 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:452028


In article <fpaofr$ru7$1@fred.mathworks.com>,
Phil Au <philipawt@gmail.com> wrote:

>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