removeComments(filename,commentIndicator)
Versione 1.0.0.1 (1,32 KB) da
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.
Cita come
Brett Shoelson (2024). removeComments(filename,commentIndicator) (https://www.mathworks.com/matlabcentral/fileexchange/48057-removecomments-filename-commentindicator), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2014b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export >
- Radar > Mapping Toolbox > Data Import and Export >
Scopri di più su Data Import and Export in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato da: % MATLAB Comment Stripping Toolbox
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.