Matlab is a very popular dynamic scripting language for numericalcomputations used by scientists, engineers and students world-wide. Matlabprograms are often developed incrementally using a mixture of Matlab scriptsand functions and frequently build upon existing code which may use outdatedfeatures. This results in programs that could benefit from refactoring,especially if the code will be reused and/or distributed. Despite the needfor refactoring there appear to be no Matlab refactoring tools available.Correct refactoring of Matlab is quite challenging because of itsnon-standard rules for binding identifiers. Even simple refactorings arenon-trivial. Compiler writers and software engineers are generally not familiar with \matlab and ho...