removeComments(file​name,commentIndicat​or)

Returns the contents of a file with comments stripped.

Al momento, stai seguendo questo contributo

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

Riconoscimenti

Ispirato da: % MATLAB Comment Stripping Toolbox

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.1

Updated license

1.0.0.0