removeComments(file​name,commentIndicat​or)

Returns the contents of a file with comments stripped.

Ahora está siguiendo esta publicación

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 (2026). removeComments(filename,commentIndicator) (https://es.mathworks.com/matlabcentral/fileexchange/48057-removecomments-filename-commentindicator), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspirado por: % MATLAB Comment Stripping Toolbox

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.1

Updated license

1.0.0.0