| MATLAB Application Program Interface | Search  Help Desk |
| mexAddFlops | Examples |
Update MATLAB's internal floating-point operations (flops) counter
C Syntax
#include "mex.h" void mexAddFlops(int count);
Arguments
countDescription
ThemexAddFlops function adds the number specified to MATLAB's internal floating-point operations (flops) counter. Use mexAddFlops when you want MATLAB's internal counter to accurately reflect the number of flops executed by your MEX-file.
Example
Seeyprime.c in the mex subdirectory of the examples directory.