## MATLAB: How to find out the first execution of the function

matlab function

In a program I need to use some values for only during the first execution of the function, thereafter the execution of the function will have to take the updated values. Is there anyway I can find the execution number from Matlab command?

## Best Answer