Introduction
Next
Code Checker for MATLAB
Checking Conventions in MATLAB code and Simulink models
Release 2.9.0
https://forum.monkeyproofsolutions.nl
info@monkeyproofsolutions.nl
www.monkeyproofsolutions.nl
☎ +31(0)76 8200 314
Table of Contents
1 Introduction
2 Getting Started
3 User guide
3.1 Using Code Checker for MATLAB, from MATLAB
3.2 Using Code Checker for MATLAB from Simulink
3.3 The Code Checker for MATLAB user interface
3.3.1 General
File
Folder
Project
Starting the run
3.3.2 Configuration
3.3.3 Report
3.3.4 Preferences
3.3.5 About
3.4 Configuring checks
3.4.1 Edit the configuration file
3.4.2 Update the configuration file
3.4.3 Multiple configurations per check
3.5 Code Checker for MATLAB reports
3.6 Reports
3.6.1 Meta data and summary
3.6.2 Configuring reports folder
3.6.3 reportFunctions
3.6.4 reportVariables
3.6.5 reportDependencies
Configurable parameters
3.6.6 reportComplexity
Configurable parameters
3.6.7 reportBinaryExpressions
3.6.8 reportCellArrays
3.6.9 reportComparisons
3.6.10 reportMexFiles
3.7 Standard checks
3.7.1 checkArgumentsBlockUsed
Configurable parameters
3.7.2 checkAssertInputs
3.7.3 checkAvoidComments
Configurable parameter
3.7.4 checkAvoidFunctions
Configurable parameters
3.7.5 checkAvoidNames
Configurable parameters
3.7.6 checkAvoidVararginout
Configurable parameters
3.7.7 checkBlockComment
3.7.8 checkBuiltinFunctionCompatibility
3.7.9 checkCharacterArray
3.7.10 checkCodeLength
3.7.11 checkCoderCompatibilityFunctionCalls
Configurable parameters
3.7.12 checkConstantDefinitionAtTop
Limitation
3.7.13 checkContiguousStructFieldDefinitions
3.7.14 checkCopyrightNotice
Configurable parameters
3.7.15 checkDuplicateAttributes
3.7.16 checkDynamicFields
3.7.17 checkEditorWarnings
Configurable parameters
3.7.18 checkExpressionAlignment
3.7.19 checkFollowedBySpace
3.7.20 checkFunctionIndented
Configurable parameters
3.7.21 checkFunctionPrefix
3.7.22 checkGetterAndSetter
3.7.23 checkGlobalUsed
3.7.24 checkIfElse
Configurable parameters
3.7.25 checkIfTrue
3.7.26 checkIndentationLength
Configurable parameter
3.7.27 checkLineLength
3.7.28 checkLogicalOperator
3.7.29 checkLoopIteratorNaming
Configurable parameters
3.7.30 checkMagicNumber
Configurable parameters
3.7.31 checkMissingComma
3.7.32 checkMissingSemicolon
Configurable parameters
3.7.33 checkMixedTypesExpression
3.7.34 checkNameIsShadowing
Configurable parameters
3.7.35 checkNameLength
Configurable parameters
3.7.36 checkNegatedBoolean
Configurable parameters
3.7.37 checkNestedFunction
3.7.38 checkNestingDepth
Configurable parameter
3.7.39 checkNoInputArg
Configurable parameters
Limitations
3.7.40 checkNumberOfInputsOutputsFunction
Configurable parameters
3.7.41 checkNumberOfOutputsConstructor
3.7.42 checkOneStatementPerLine
Configurable parameters
3.7.43 checkOperatorsLineContinuation
Configurable parameters
3.7.44 checkParenthesesLogicalOperators
Configurable parameters
3.7.45 checkParenthesesMathematicalOperators
3.7.46 checkPersistentUsed
3.7.47 checkPropertyClassRedundancy
3.7.48 checkReuseIteratorVariableName
3.7.49 checkScriptFileUsed
3.7.50 checkShellEscape
3.7.51 checkStringDataType
3.7.52 checkStructFieldNames
Limitations
3.7.53 checkSubFunction
3.7.54 checkSuppressAll
3.7.55 checkSurrBySpaces
Configurable parameters
3.7.56 checkSwitchOtherwise
3.7.57 checkTryExceptionHandling
Configurable parameters
3.7.58 checkTryUsed
3.7.59 checkWarningUsed
3.7.60 checkWhiteSpaceEndOfLine
3.7.61 Casing checks
3.7.62 Missing checks
3.8 Disabled checks and reports
3.9 Exemptions
3.9.1 Add exemptions automatically
3.9.2 Supporting functionality
3.10 Rerun functionality
3.11 Automatic fixes
3.12 Live Editor files
4 Configuration Editor
4.1 Opening the Configuration Editor
4.2 Editing the configuration of a check
4.3 Find checks efficiently
4.4 Adding missing checks and parameters
4.5 Clone and remove check configurations
5 Predefined configurations
6 Function reference
7 System requirements
8 Considerations and known limitations
9 Release notes
10 Version information
A Troubleshooting
A.1 License Errors
B Datatype detection
Introduction
Next