FIXCASE – Fix your code to use exact case match when calling functions 1

Posted by Michelle Hirsch,

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.
Have you noticed, but ignored, this warning that MATLAB has been issuing for years?
>> x = LinSpace(1,100,50);
Cannot find an exact (case-sensitive) match for 'LinSpace'

Did 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.  With much thanks to Ian Noell, there's now a great tool on the File Exchange to do exactly this.  Ian's "fixcase" attempts to find and automatically fix (!) any function calls you make with incorrect case. A huge time saver.   Thanks, Ian!

1 CommentsOldest to Newest