Up User guide

3.1 Using Code Checker for MATLAB, from MATLAB

For a quick introduction on how to check your code using Code Cheker for MATLAB, see this video. The tool runs by clicking the shortcut (see Section 3↑) or is started from the command-line calling monkeyproof.cc4m.start. More information on the user interface is given in Section 3.3↓. The checker allows for checking one or more selected files, m-files in a folder or even the m-files in a folder and its sub-folders. A choice can be made between checking all m-files or only those with local changes with respect to a SubVersion repository. Live Editor files can also be checked, albeit with some limitations as described in Section 3.12↓. For obvious reasons, p-code files (obfuscated versions of m-code files) cannot be analyzed by Code Checker for MATLAB.
Results from the standard reports and all checks are shown in one result report. This result report contains the following sections:
The content of most of these sections is described in Section 3.6↓. Upon running Code Checker for MATLAB, the report is saved as a webpage (.html) in the reports folder automatically for future reference. The report will be given a unique name based on a timestamp.
When running the Code Checker for MATLAB for the first time (see Chapter 2↑), the reports folder is created at a default location. For Windows this is:
For Mac this is:
~/Library/Application Support/cc4m/cc4m_reports
For Linux this is:
The reports folder can be changed or requested from the command line or the GUI. See 7↓ for an overview of the options.
Up User guide