fixcase

Version 1.0.0.0 (41.5 KB) by Ian Noell
Check and fix case of function calls
1K Downloads
Updated 1 Jun 2012

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

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.

Cite As

Ian Noell (2024). fixcase (https://www.mathworks.com/matlabcentral/fileexchange/36539-fixcase), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Scope Variables and Generate Names in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0