commands.sh

mh_lint

all

Attempt to find bugs in MATLAB or Octave code. Please note that this tool is neither sound nor complete.

More info →

Examples (4)

Check the current directory

Check a specific directory recursively

mh_lint path/to/directory

Check a MATLAB file

mh_lint path/to/file.m

Check an Octave file

mh_lint --octave path/to/file.m
made by @shridhargupta | data from tldr-pages