removeComments(filename,commentIndicator)
Version 1.0.0.1 (1,32 KB) von
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.
Zitieren als
Brett Shoelson (2026). removeComments(filename,commentIndicator) (https://de.mathworks.com/matlabcentral/fileexchange/48057-removecomments-filename-commentindicator), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2014b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export >
- Radar > Mapping Toolbox > Data Import and Export >
Mehr zu Data Import and Export finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert von: % MATLAB Comment Stripping Toolbox
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.1 | Updated license |
||
| 1.0.0.0 |
