MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Counting the number of times function is used 

Subject: Counting the number of times function is used From: Francki Date: 19 Aug, 2010 19:04:28 Message: 1 of 9 
hi guys, 
Subject: Counting the number of times function is used From: Matt Fig Date: 19 Aug, 2010 19:15:37 Message: 2 of 9 
Among the ways to approach this: See the help for PERSISTENT. 
Subject: Counting the number of times function is used From: Sean Date: 19 Aug, 2010 19:21:10 Message: 3 of 9 
"Francki " <jonesfranckandi@yahoo.fr> wrote in message <i4jv7s$p61$1@fred.mathworks.com>... 
Subject: Counting the number of times function is used From: Francki Date: 19 Aug, 2010 19:24:06 Message: 4 of 9 
"Matt Fig" <spamanon@yahoo.com> wrote in message <i4jvsp$90m$1@fred.mathworks.com>... 
Subject: Counting the number of times function is used From: Francki Date: 19 Aug, 2010 20:54:23 Message: 5 of 9 
"Sean " <sean.dewolski@nospamplease.umit.maine.edu> wrote in message <i4k076$tj$1@fred.mathworks.com>... 
Subject: Counting the number of times function is used From: Steven_Lord Date: 19 Aug, 2010 21:05:37 Message: 6 of 9 

Subject: Counting the number of times function is used From: Francki Date: 19 Aug, 2010 22:43:05 Message: 7 of 9 
"Steven_Lord" <slord@mathworks.com> wrote in message <i4k6b1$d03$1@fred.mathworks.com>... 
Subject: Counting the number of times function is used From: Matt Fig Date: 19 Aug, 2010 22:53:07 Message: 8 of 9 
Here is one way to do it with a PERSISTENT variable: 
Subject: Counting the number of times function is used From: Francki Date: 19 Aug, 2010 23:10:10 Message: 9 of 9 
"Matt Fig" <spamanon@yahoo.com> wrote in message <i4kckj$p6f$1@fred.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.