strrepInFile works as the strrep function but replaces substring in file.
For example, strrepInFile simplifies import of numeric data with comma as decimal mark :
strrepInFile('data.txt', ',', '.');
dlmread('new_data.txt', ';')
Cita come
Jerome Briot (2025). strrepInFile (https://www.mathworks.com/matlabcentral/fileexchange/61495-strrepinfile), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2015b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su File Operations in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
strrepInFile/
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |