replaceTildes

Version 1.1.0.0 (1.87 KB) by Daniel
Recurses through directories, finding Matlab code and replacing LHS tildes with 'ans'.
227 Downloads
Updated 1 Jul 2013

View License

Recurses through directories, finding Matlab code and replacing LHS tildes with 'ans' to make code backwards compatible.

WARNING: this overwrites files!!! Copy the whole folder before use!!!

Please report bugs on the Matlab FX.
And if you can come up with a better regex let me know.

Cite As

Daniel (2024). replaceTildes (https://www.mathworks.com/matlabcentral/fileexchange/42403-replacetildes), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Added warning dialogue at top of function. And explicitly declared DUMMY_VAR_NAME for user to change at his/her discretion.

1.0.0.0