LinuxCommandLibrary

mh_lint

checks MATLAB code for issues

TLDR

Check MATLAB code

$ mh_lint [file.m]
copy
Check directory
$ mh_lint [src/]
copy
Output to file
$ mh_lint [file.m] > [report.txt]
copy
Enable all checks
$ mh_lint --all [file.m]
copy
Show available checks
$ mh_lint --list
copy

SYNOPSIS

mh_lint [options] files

DESCRIPTION

mh_lint checks MATLAB code for issues. It identifies style violations and potential bugs.
The tool is part of MISS_HIT. It enforces coding standards for MATLAB/Simulink projects.

PARAMETERS

FILES

MATLAB files to check.
--all
Enable all checks.
--list
List available checks.
--fix
Auto-fix issues.
--help
Display help information.

CAVEATS

Part of MISS_HIT. MATLAB specific. Python-based tool.

HISTORY

mhlint is part of **MISSHIT**, a MATLAB/Simulink code quality tool suite.

SEE ALSO

mh_metric(1), mh_style(1), mlint(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community