image thumbnail

Replace strings in text file

version 1.2.0.0 (1.92 KB) by Pekka Kumpulainen
REPLACEINFILE replaces characters in ASCII file using PERL

8.8K Downloads

Updated 08 Jan 2009

View License

Easy and efficient way to replace strings in ASCII files.
For example replace commas ',' to points '.' in large data files for easier load.

Cite As

Pekka Kumpulainen (2021). Replace strings in text file (https://www.mathworks.com/matlabcentral/fileexchange/18909-replace-strings-in-text-file), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
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!