removeComments(filename,commentIndicator)
Version 1.0.0.1 (1,32 ko) par
Brett Shoelson
Returns the contents of a file with comments stripped.
Specify the name of a file and (optionally) the character indicator for a comment, and removeComments will return (in a cell array or a char) the line-by-line contents of the file without comments.
Citation pour cette source
Brett Shoelson (2026). removeComments(filename,commentIndicator) (https://fr.mathworks.com/matlabcentral/fileexchange/48057-removecomments-filename-commentindicator), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2014b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export >
- Radar > Mapping Toolbox > Data Import and Export >
En savoir plus sur Data Import and Export dans Help Center et MATLAB Answers
Tags
Remerciements
Inspiré par : % MATLAB Comment Stripping Toolbox
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.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.1 | Updated license |
||
| 1.0.0.0 |
