removeComments(filename,commentIndicator)
Versión 1.0.0.1 (1.32 KB) por
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.
Citar como
Brett Shoelson (2024). removeComments(filename,commentIndicator) (https://www.mathworks.com/matlabcentral/fileexchange/48057-removecomments-filename-commentindicator), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2014b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export >
- Radar > Mapping Toolbox > Data Import and Export >
Más información sobre Data Import and Export en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspirado por: % MATLAB Comment Stripping Toolbox
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.