Code covered by the MathWorks Limited License

Highlights from
fixcase

5.0

5.0 | 3 ratings Rate this file 28 Downloads (last 30 days) File Size: 47.1 KB File ID: #36539

fixcase

by

 

Check and fix case of function calls

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

In releases of MATLAB prior to R2011b, entering a function name that did not match any known function name in the given letter case resulted in a warning. After displaying this warning message, MATLAB attempted find a function that would match if letter case were ignored. If such a match were found, MATLAB ran this function instead. In MATLAB R2011b, the MATLAB software generates an error if it can't find an exact-case match.

fixcase attempts to find and offer fixes for function calls with incorrect case by analyzing MATLAB code and checking the MATLAB path. fixcase produces an HTML report. The report provides a summary of issues with links to open and fix the code in the MATLAB editor. You must verify each change because fixcase might produce some inappropriate messages and fixes when MATLAB uses variables in unusual ways. Similarly, fixcase might not correctly analyze method calls.

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
03 Apr 2013 Paul Kassebaum  
05 Mar 2013 Aurelien Queffurust

Just a drawback all codes are p-coded.
We cannot choose for example the destination of HTML reports , they go by default under temporary folder/CodeReports

05 Dec 2012 Patrick Lanusse

Very useful. Thanks a lot.

02 Jul 2012 Aurelien Queffurust

Thanks a lot for sharing this code. It helped to quickly detect 150 potential errors from more than 1000 M-files !

Contact us