Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!news.aset.psu.edu!news.cse.psu.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: How to auto-execute a script when I using ctrl+C break the m-code program?
Date: Mon, 20 Aug 2007 03:05:39 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 15
Message-ID: <fab0e3$fcg$1@canopus.cc.umanitoba.ca>
References: <1187512661.393444.109850@j4g2000prf.googlegroups.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1187579139 15760 192.70.172.160 (20 Aug 2007 03:05:39 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Mon, 20 Aug 2007 03:05:39 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:424530



In article <1187512661.393444.109850@j4g2000prf.googlegroups.com>,
Jiao Xianjun  <putaoshu@gmail.com> wrote:

>How to auto-execute a script when I using ctrl+C to break the m-code
>program?

I have never heard of a way to do that. But what is it that you
are trying to do, that simply typing a script name would not be
sufficient for? Perhaps there is another way to do what you are
trying to achieve.
-- 
  "It is important to remember that when it comes to law, computers
  never make copies, only human beings make copies.  Computers are given
  commands, not permission. Only people can be given permission."
                                               -- Brad Templeton