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', ';')
Citation pour cette source
Jerome Briot (2024). strrepInFile (https://www.mathworks.com/matlabcentral/fileexchange/61495-strrepinfile), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2015b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur File Operations dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
strrepInFile/
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |