Replace strings in text file
by Pekka Kumpulainen
25 Feb 2008
(Updated 08 Jan 2009)
REPLACEINFILE replaces characters in ASCII file using PERL
|
Watch this File
|
| File Information |
| Description |
Easy and efficient way to replace strings in ASCII files.
For example replace commas ',' to points '.' in large data files for easier load. |
| MATLAB release |
MATLAB 7 (R14)
|
| Other requirements |
Made for Windows, for other platforms edit the path to perl on line 46 |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 03 Mar 2008 |
Fixed error if MATLAB path has whitespaces |
| 05 Mar 2008 |
Note on platforms |
| 16 Nov 2008 |
Now supports paths with spaces, forced overwrite of existing output file, corrected replaceing of '.' and '\' |
| 08 Jan 2009 |
'-nobak' option to remove backup file, fixed help a little |
|
Contact us at files@mathworks.com