{"id":3676,"date":"2012-06-29T06:47:53","date_gmt":"2012-06-29T11:47:53","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=3676"},"modified":"2012-06-29T06:47:53","modified_gmt":"2012-06-29T11:47:53","slug":"fixcase-fix-your-code-to-use-exact-case-match-when-calling-functions","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2012\/06\/29\/fixcase-fix-your-code-to-use-exact-case-match-when-calling-functions\/","title":{"rendered":"FIXCASE &#8211; Fix your code to use exact case match when calling functions"},"content":{"rendered":"Hey all, it's Scott making a quick guest re-appearance to help get the word out about a very useful new submission on the File Exchange. My pick this week is \"<a title=\"fixcase\" href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/36539-fixcase\" target=\"_blank\">fixcase<\/a>\" by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/71572\" target=\"_blank\">Ian Noell<\/a>.\r\n<br>\r\nHave you noticed, but ignored, this warning that MATLAB has been issuing for years?\r\n<pre>&gt;&gt; x = LinSpace(1,100,50);\r\nCannot find an exact (case-sensitive) match for 'LinSpace'<\/pre>\r\n<br>\r\n\r\nDid you notice that starting with R2011b, this warning turned to an error, and perhaps wished that you had heeded the warning? If you are looking for an easy way to update your code to use correct case in function calls, you are in luck.\u00a0 With much thanks to Ian Noell, there's now a great tool on the File Exchange to do exactly this.\u00a0 Ian's \"<a title=\"fixcase\" href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/36539-fixcase\" target=\"_blank\">fixcase<\/a>\" attempts to find and <strong>automatically fix<\/strong> (!) any function calls you make with incorrect case. A huge time saver.\r\n\r\n&nbsp;\r\n\r\nThanks, Ian!","protected":false},"excerpt":{"rendered":"<p>Hey all, it's Scott making a quick guest re-appearance to help get the word out about a very useful new submission on the File Exchange. My pick this week is \"fixcase\" by Ian Noell.\r\n\r\nHave you... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2012\/06\/29\/fixcase-fix-your-code-to-use-exact-case-match-when-calling-functions\/\">read more >><\/a><\/p>","protected":false},"author":33,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3676"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=3676"}],"version-history":[{"count":15,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3676\/revisions"}],"predecessor-version":[{"id":3725,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/3676\/revisions\/3725"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=3676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=3676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=3676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}