# mh_lint > 尝试在 MATLAB 或 Octave 代码中查找错误。 > 请注意,该工具既不全面也不完善。 > 更多信息:。 - 检查当前目录: `mh_lint` - 递归检查特定目录: `mh_lint {{path/to/directory}}` - 检查 MATLAB 文件: `mh_lint {{path/to/file.m}}` - 检查 Octave 文件: `mh_lint --octave {{path/to/file.m}}`