{"id":311,"date":"2009-05-18T14:33:13","date_gmt":"2009-05-18T14:33:13","guid":{"rendered":"https:\/\/blogs.mathworks.com\/desktop\/2009\/05\/18\/m-lint-across-a-project\/"},"modified":"2009-05-18T14:33:13","modified_gmt":"2009-05-18T14:33:13","slug":"m-lint-across-a-project","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2009\/05\/18\/m-lint-across-a-project\/","title":{"rendered":"M-Lint across a project"},"content":{"rendered":"<p>Oftentimes I find myself working not just on one MATLAB file, but a whole project-full of multiple files. When I&#8217;m in a multi-file mode, I like to know how my code is doing and how much cleanup work I still have to do to get the files into a stable, presentable state. The M-Lint code checker built in to the Editor is a great tool for analyzing and fixing a single file, but not practical when you have a bunch of files. <\/p>\n<p>Why open a series of files consecutively and tab between them just to find the outstanding messages when you can use the M-Lint report to see them all at once?<\/p>\n<div align=\"center\">\n<img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_mlint_report\/report.png\" alt=\"The M-Lint Report\">\n<\/div>\n<p>The report lets you see all the unresolved warnings and errors in all your files at once. This provides a quick way to gauge the health of your project.<\/p>\n<p>There are two ways to get to the M-Lint report. First is through the Current Directory Browser:<\/p>\n<div align=\"center\">\n<img decoding=\"async\" border=\"0\" src=\"https:\/\/blogs.mathworks.com\/images\/desktop\/michael_katz_mlint_report\/reportlink.png\" alt=\"The M-Lint Report\">\n<\/div>\n<p>The other is through the <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2009a\/techdoc\/index.html?\/access\/helpdesk\/help\/releases\/R2009a\/techdoc\/ref\/mlintrpt.html\"><tt>mlintrpt<\/tt><\/a> command. By default The M-Lint report uses your active M-Lint configuration, but you can use this command to specify an alternative configuration. See our <a href=\"https:\/\/blogs.mathworks.com\/community\/2008\/03\/03\/sharing-your-m-lint-settings\/\">previous post<\/a> about M-Lint configurations for more details. <\/p>\n<p>Let us know how M-Lint has helped or hindered your project-wide workflows. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oftentimes I find myself working not just on one MATLAB file, but a whole project-full of multiple files. When I&#8217;m in a multi-file mode, I like to know how my code is doing and how much cleanup&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2009\/05\/18\/m-lint-across-a-project\/\">read more >><\/a><\/p>\n","protected":false},"author":38,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,38],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/311"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=311"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/311\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}