Path: news.mathworks.com!not-for-mail
From: "ching l" <chinglnc@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: limit callback function?
Date: Fri, 18 Jul 2008 01:27:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <g5orh5$kc7$1@fred.mathworks.com>
Reply-To: "ching l" <chinglnc@hotmail.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 1216344421 20871 172.30.248.35 (18 Jul 2008 01:27:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 18 Jul 2008 01:27:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1438759
Xref: news.mathworks.com comp.soft-sys.matlab:480152



is it possible to limit the callback function?

for example, the gui button can only be pressed for 10
times, then the callback function is not valid anymore after
10 times.

thanks.