Dear all,
I want to add +1 for the function file for its each run.
Example:
If following function file I need to call by many function files.
And I want to use a = number of time function file run in the same program
In short, I need count for function run in same function file
Kindly suggest
function [ y ] = Untitled( x )
% a is number of time function file called
a=a+1;
y=x+10;
end
Thank you