Counting the Floating Point Operations (FLOPS). Scan and parse each line of MATLAB codes, and infer FLOPS based on matrix sizes. The program counts FLOPS of a MATLAB file, either as a script or function. By scanning and parsing each line of the MATLAB codes, we infer the floating point operations based on matrix sizes. Arithmetic operations, matrix decompositions, elementary functions and common statistics functions are counted. The program supports user-defined new rules, which can override our predetermined rules by a spreadsheet. For details of software usage, refer to the enclosed PDF documentation ‘User Guide for FLOPS’.