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: Visible figure has no gui handle. Why?
Date: Wed, 29 Aug 2007 23:14:24 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 14
Message-ID: <fb4ukg$g6q$1@canopus.cc.umanitoba.ca>
References: <fav61d$7a5$1@fred.mathworks.com> <fav7q6$d5g$1@canopus.cc.umanitoba.ca> <fav8uo$5oc$1@fred.mathworks.com> <fb4l5m$4u4$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1188429264 16602 192.70.172.160 (29 Aug 2007 23:14:24 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Wed, 29 Aug 2007 23:14:24 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:426174


In article <fb4l5m$4u4$1@fred.mathworks.com>, G.A.M.  <x0zero@gmail.com> wrote:
>Hello. I have been stumped by this problem for several days
>now. Using the tips provided previously, I have been
>debugging the problem. However, I still get an 'Invalid
>handle' error when using get('Tag', 'figureM'). 

You can't get('Tag', 'figureM'). You can, though,

get(findobj('Tag', 'figureM'))

get() must be passed a handle (or list of handles) to operate on.
-- 
   I was very young in those days, but I was also rather dim.
   -- Christopher Priest