{"id":53,"date":"2006-09-06T17:30:21","date_gmt":"2006-09-06T22:30:21","guid":{"rendered":"https:\/\/blogs.mathworks.com\/loren\/?p=53"},"modified":"2017-08-27T19:14:02","modified_gmt":"2017-08-28T00:14:02","slug":"m-lint-settings-in-r2006b","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/loren\/2006\/09\/06\/m-lint-settings-in-r2006b\/","title":{"rendered":"M-Lint Settings in R2006b"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <introduction>\r\n      <p>I love the new possibilities for customizing M-Lint messages I see in the new <a href=\"https:\/\/www.mathworks.com\/products\/new_products\/latest_features.html?s_cid=HP_RH_2006b\">R2006b release<\/a> based on my active settings.\r\n      <\/p>\r\n   <\/introduction>\r\n   <h3>Contents<\/h3>\r\n   <div>\r\n      <ul>\r\n         <li><a href=\"#1\">Preferences<\/a><\/li>\r\n         <li><a href=\"#2\">How to Create New Settings<\/a><\/li>\r\n         <li><a href=\"#3\">Other Ways to Customize Messages<\/a><\/li>\r\n         <li><a href=\"#5\">Activate Alternate Settings<\/a><\/li>\r\n         <li><a href=\"#6\">References<\/a><\/li>\r\n      <\/ul>\r\n   <\/div>\r\n   <h3>Preferences<a name=\"1\"><\/a><\/h3>\r\n   <p>To see what I'm talking about, look at this screenshot of my MATLAB Preferences selection for M-Lint.  I can select and deselect\r\n      messages based on what I want to see, and saved combinations of these messages in named files.  I have saved three difference\r\n      choices, in addition to the default.  However, when I actually look at what I've done, two are the same.  I <b>really<\/b> wanted to stop seeing certain messages when I am writing this blog!\r\n   <\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/loren\/53\/mlintPrefs.PNG\"> <\/p>\r\n   <h3>How to Create New Settings<a name=\"2\"><\/a><\/h3>\r\n   <p>Based on the screenshot you just saw, I'm sure you can figure out how to customize the M-Lint messages for yourself.  Simply\r\n      go to the M-Lint section of the MATLAB preferences, check and uncheck boxes, and choose <tt>Save As...<\/tt> to save your selection.\r\n   <\/p>\r\n   <h3>Other Ways to Customize Messages<a name=\"3\"><\/a><\/h3>\r\n   <p>The R2006b release of MATLAB has other ways to customize the messages you see.  You can choose to:<\/p>\r\n   <div>\r\n      <ul>\r\n         <li>Always ignore a particular message<\/li>\r\n         <li>Ignore this message this time<\/li>\r\n      <\/ul>\r\n   <\/div>\r\n   <p>The way to accomplish either of these tasks is to right-click with your mouse on the actual underlined location where a message\r\n      is generated. When you do, you will see two choices at the top of the context menu% * Ignore this <i>message<\/i> * Disable all <i>message<\/i><\/p>\r\n   <h3>Activate Alternate Settings<a name=\"5\"><\/a><\/h3>\r\n   <p>In the preferences, you choose which M-Lint settings are active. You can change this in the editor by right-clicking with\r\n      your mouse on the overall M-Lint status square towards the top of the right side, the column where the M-Lint messages are\r\n      indicated.\r\n   <\/p>\r\n   <h3>References<a name=\"6\"><\/a><\/h3>\r\n   <p>Here are some more references on how you can use the new M-Lint preferences.<\/p>\r\n   <div>\r\n      <ul>\r\n         <li><a href=\"https:\/\/www.mathworks.com\/help\/matlab\/ref\/mlint.html\"><tt>mlint<\/tt><\/a><\/li>\r\n         <li>M-Lint Code Analyzer<\/li>\r\n      <\/ul>\r\n   <\/div>\r\n   <p>Are these new preferences useful to you?  <a href=\"https:\/\/blogs.mathworks.com\/loren\/2006\/09\/06\/m-lint-settings-in-r2006b\/#respond\">Let me know.<\/a><\/p>\r\n   <p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br>\r\n      Published with MATLAB&reg; 7.3<br><\/p>\r\n<\/div>\r\n<!--\r\n##### SOURCE BEGIN #####\r\n%% M-Lint Settings in R2006b\r\n% I love the new possibilities for customizing M-Lint messages I see in\r\n% the new <https:\/\/www.mathworks.com\/products\/new_products\/latest_features.html?s_cid=HP_RH_2006b R2006b release>\r\n% based on my active settings. \r\n%% Preferences \r\n% To see what I'm talking about, look at this screenshot of my MATLAB\r\n% Preferences selection for M-Lint.  I can select and deselect messages\r\n% based on what I want to see, and saved combinations of these messages in\r\n% named files.  I have saved three difference choices, in addition to the\r\n% default.  However, when I actually look at what I've done, two are the\r\n% same.  I *really* wanted to stop seeing certain messages when I am writing\r\n% this blog!\r\n%\r\n% <<mlintPrefs.PNG>>\r\n%% How to Create New Settings\r\n% Based on the screenshot you just saw, I'm sure you can figure out how to\r\n% customize the M-Lint messages for yourself.  Simply go to the M-Lint\r\n% section of the MATLAB preferences, check and uncheck boxes, and choose\r\n% |Save As...| to save your selection.\r\n\r\n%% Other Ways to Customize Messages\r\n% The R2006b release of MATLAB has other ways to customize the messages you\r\n% see.  You can choose to:\r\n%\r\n% * Always ignore a particular message\r\n% * Ignore this message this time\r\n%\r\n%%\r\n% The way to accomplish either of these tasks is to right-click with your\r\n% mouse on the actual underlined location where a message is generated.\r\n% When you do, you will see two choices at the top of the context menu%\r\n% * Ignore this _message_\r\n% * Disable all _message_\r\n\r\n%% Activate Alternate Settings\r\n% In the preferences, you choose which M-Lint settings are active.\r\n% You can change this in the editor by right-clicking with your mouse on\r\n% the overall M-Lint status square towards the top of the right side, the\r\n% column where the M-Lint messages are indicated.\r\n%% References\r\n% Here are some more references on how you can use the new M-Lint\r\n% preferences.\r\n%\r\n% * <https:\/\/www.mathworks.com\/help\/matlab\/ref\/mlint.html |mlint|>\r\n% * <https:\/\/www.mathworks.com\/access\/helpdesk\/help\/techdoc\/matlab_env\/index.html?\/access\/helpdesk\/help\/techdoc\/matlab_env\/f2-83378.html M-Lint Code Analyzer>\r\n%\r\n%%\r\n% Are these new preferences useful to you?  <?p=53#respond Let me know.>  \r\n##### SOURCE END #####\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   \r\n      I love the new possibilities for customizing M-Lint messages I see in the new R2006b release based on my active settings.\r\n      \r\n   \r\n   Contents\r\n   \r\n    ... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/loren\/2006\/09\/06\/m-lint-settings-in-r2006b\/\">read more >><\/a><\/p>","protected":false},"author":39,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/53"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/comments?post=53"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":2402,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/53\/revisions\/2402"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/media?parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/categories?post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/tags?post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}