Functions for deleting specified comments from m-files in Git repos or single files
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
The package includes two functions:
-striprepo which deletes all or specified comments from a Git repository, e.g. you can delete comments that start with '%?', '%TODO:' or any other sequence
-stripfile which does the same but affects a given file or creates a modified copy
Block comments are affected this way:
%{
<any string>
comment content
%}
Check out README.md on GitHub for more detailed description.
Credits to Peter John Acklam for constructing the main regex used here.
Zitieren als
Mateusz Florczak (2026). MATLAB Repo Comment Stripper (https://github.com/Zbyszard/Matlab-Comment-Stripper/releases/tag/v1.0.0), GitHub. Abgerufen .
Quellenangaben
Inspiriert von: % MATLAB Comment Stripping Toolbox
Allgemeine Informationen
- Version 1.0.0 (7,66 KB)
-
Lizenz auf GitHub anzeigen
Kompatibilität der MATLAB-Version
- Kompatibel mit R2017a und späteren Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.0 |
