CmdID

CmdID / Commands

mh_metric

Calculate and enforce code metrics for MATLAB or Octave code. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Print the code metrics for the specified files

mh_metric path/to/file1.m path/to/file2.m ...Identify

Print the code metrics for the specified Octave files

mh_metric --octave path/to/file1.m path/to/file2.m ...Identify

Print the code metrics for the specified directory recursively

mh_metric path/to/directoryIdentify

Print the code metrics for the current directory

mh_metricIdentify

Print the code metrics report in HTML or JSON format

mh_metric --html path/to/output_fileIdentify