mh_lint

Attempt to find bugs in MATLAB or Octave code.

TLDR

Check the current directory

$ mh_lint
copy


Check a specific directory recursively
$ mh_lint [path/to/directory]
copy


Check a MATLAB file
$ mh_lint [path/to/file.m]
copy


Check an Octave file
$ mh_lint --octave [path/to/file.m]
copy

Copied to clipboard