Path: news.mathworks.com!newsfeed-00.mathworks.com!news.kjsl.com!newsfeed.stanford.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: : [ ] function?
Date: Mon, 21 Jul 2008 16:26:41 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 27
Message-ID: <g62dc1$e0v$1@canopus.cc.umanitoba.ca>
References: <g5sevj$ra1$1@fred.mathworks.com> <g5sjom$jhc$1@fred.mathworks.com> <g5sm5j$ou9$1@fred.mathworks.com> <g5soo2$1ej$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1216657601 14367 192.70.172.160 (21 Jul 2008 16:26:41 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Mon, 21 Jul 2008 16:26:41 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:480703



In article <g5soo2$1ej$1@fred.mathworks.com>,
ching l <chinglnc@hotmail.com> wrote:

>Basically, the final outcome of the callback (or after the
>push button is pressed) is a TEXT FILE, with the
>corresponded information.

>I want these  1, 2, 3, 
>              4, 5, 6, 
>              7, 8, 9 

>to be in the text file. 

>Meaning to say, when the push button is first pressed, it
>will create [1, 2, 3 ], then when it's pressed again, 
>it will create [1, 2, 3, ; 4, 5, 6], and then when it's
>pressed again, it will create [1, 2, 3; 4, 5, 6; 7, 8, 9] so
>on and so forth. Then when the final push button is pressed, 
>it will create a text file with all these information in there.

>Does it make sense now?

I already gave you a coded solution to this question in your thread
"go to next function in one callback".
-- 
  "When we all think alike no one is thinking very much."
                                              -- Walter Lippmann