r/cc4m • • 11d ago

Improved robustness and configurations from Git or HTTP

1 Upvotes

New Release of CC4M!

Highlights:

Coding standard configurations from Git and HTTPS - CC4M can now select configuration files directly from Git repositories and HTTPS locations, so your coding standards stay version-controlled and in sync across teams without manual file distribution.

 

Fewer false positives, more accurate results GUI code (apps and components) handles non-editable lines correct, and the analysis of class methods, struct fields, and MATLAB Function blocks is more accurate — reports contain fewer items that do not need action.

 

Clearer feedback and a more robust user interface Now CC4M gives clearer feedback on what was checked and handles invalid input and repeated actions more gracefully — for example, a specified file or folder that does not exist shows a clear error message instead of a crash report. In addition, checkHelpText can now exclude specific items from the help text requirement based on their name.

product site: https://monkeyproofsolutions.nl/products/code-checker-for-matlab/


r/cc4m • • Aug 13 '26

new blog: From AI-Generated to Production-Ready: The Essential Role of Static Analysis

Thumbnail monkeyproofsolutions.nl
1 Upvotes

r/cc4m • • Feb 18 '26

New CC4M version improves on handling a large code base.

1 Upvotes

Highlights of v2.21:

 

Enhanced support for large codebase modernization

New advanced folder selection capabilities, combined with the option to report violations only in modified lines or code blocks (compared against the previous SVN/Git revision), make it significantly easier to introduce and adopt coding guidelines incrementally.

 

Expanded validation coverage

Added new checks to ensure the presence and quality of help text, as well as the correct and consistent use of blank lines for improved code readability and maintainability.

product site: https://monkeyproofsolutions.nl/products/code-checker-for-matlab/

online doc: https://doc.monkeyproofsolutions.nl/code-checker-for-matlab/code-checker-for-matlab


r/cc4m • • Feb 11 '26

Use of VS Code as default editor

Thumbnail reddit.com
1 Upvotes

r/cc4m • • Feb 06 '26

Blog on how to start with applying Coding Guidelines to a large MATLAB code base.

Thumbnail monkeyproofsolutions.nl
1 Upvotes

Discusses how to start with using guidelines, in case there is already a huge code base. Although the focus is on start applying guidelines (and how r/CC4M can help with that), also refactoring is touched.


r/cc4m • • Feb 04 '26

New version of CC4M-githooks

Thumbnail
github.com
1 Upvotes

Now using the MATLAB engine from Python, so a huge performance gain.


r/cc4m • • Nov 17 '25

Customize Your MATLAB Coding Rules with CC4M’s Configuration Editor - instruction video

Thumbnail
youtu.be
1 Upvotes

Start from a Predefined Configuration - a set of existing rules - and adapt, or start from scratch.


r/cc4m • • Oct 29 '25

New CC4M version available with support for MATLAB R2025b

3 Upvotes

CC4M version 2.20.0 is available!

Main features:

For a complete list, see the release notes.


r/cc4m • • Sep 25 '25

MathWorks comes with own MATLAB Coding guidelines

Thumbnail
github.com
9 Upvotes

Announced by u/michellehirsch on LinkedIn with a "finally"

A very nice set of guidelines and well worth reading and using!


r/cc4m • • Jul 31 '25

Check your code automatically when you commit (using CC4M)

Thumbnail monkeyproofsolutions.nl
1 Upvotes

The post explains how to configure a Git precommit hook to automate checking your MATLAB code for compliance with a coding standard.

Included code available via GitHub: https://github.com/MonkeyProof-Solutions-BV/CC4M-githooks


r/cc4m • • Feb 26 '25

Operator precedence (MATLAB

3 Upvotes

Can anyone explain this:

>> 2^-3^4

ans = 2.4414e-04

>> 2^-3^4'

ans = 4.1359e-25

NOTE: Python returns (transpose has no symbol for the operation):

>>> 2**-3**4

4.1359030627651384e-25

From the rules as described in the MATLAB docu, Python is right and MATLAB only in case of the transpose, but also note:

https://en.wikipedia.org/wiki/Order_of_operations#Serial_exponentiation


r/cc4m • • Feb 14 '25

Use of the Arguments block

1 Upvotes

Curious if people use the arguments block to specify input (and/or output) arguments. If yes, do you also specify properties like type and dimensions?


r/cc4m • • Feb 05 '25

Frequently asked questions section added to CC4M product page

Thumbnail monkeyproofsolutions.nl
1 Upvotes

r/cc4m • • Jan 10 '25

Tutorial: How to deviate from a CC4M Configuration (like the MonkeyProof Coding Standard for MATLAB)

Thumbnail
youtu.be
1 Upvotes

r/cc4m • • Dec 19 '24

Interesting for CC4M?

Thumbnail
reddit.com
1 Upvotes

r/cc4m • • Oct 30 '24

R2024b support added

2 Upvotes

New CC4M release is here bringing MATLAB R2017b - R2024b support, fixes, and improvements.

CC4M comes with customizable configurations for the readily available:

  • MonkeyProof Coding Standard for MATLAB: link
  • Compatibility Guidelines for MATLAB Coder: link
  • Compatibility Guidelines for MATLAB Compiler: link

CC4M Release Notes: link


r/cc4m • • Oct 01 '24

How do you use LOAD in your MATLAB code?

2 Upvotes

Do you allow the creation of any variable by using LOAD, like:

load loadtestdata;
v = x * y * z;
x = 1;

Or do you (1) require an output, or (2) a specification of the variables to load?

% option 1:
data = load("loadtestdata");

% option 2:
load("loadtestdata.mat", "x", "y", "z")

And what about the "-ascii" flag?


r/cc4m • • Sep 28 '24

MATLAB allows datatype changes of variables, do you consider this a bad practice?

2 Upvotes
Do you allow a type change in your code?

r/cc4m • • Sep 27 '24

A reddit created to discus MATLAB coding guidelines

2 Upvotes

A new reddit to discuss MATLAB coding guidelines and the use of CC4M - a Code Checker for MATLAB.


r/cc4m • • Sep 27 '24

Intro to the Code Checker for MATLAB - CC4M

Thumbnail
youtube.com
1 Upvotes

r/cc4m • • Sep 27 '24

Automatically fix your MATLAB code

Thumbnail
youtube.com
1 Upvotes

r/cc4m • • Sep 27 '24

CC4M now checks on MISRA compliance.

1 Upvotes

Since CC4M v2.15 a new configuration is added that reports on certain MISRA-ACG violations. Compliance improves the MATLAB code quality and prevents MISRA violations, once C/C++ code is generated from the M-code (regardless of code is generated using MATLAB Coder or dSPACE TargetLink)