| MATLAB Application Program Interface | Search  Help Desk |
| mexAddFlops |
Update MATLAB's internal floating-point operations (flops) counter
#include "mex.h" void mexAddFlops(int count);count
mexAddFlops 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.