MATLAB Repo Comment Stripper
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.
Citation pour cette source
Mateusz Florczak (2025). MATLAB Repo Comment Stripper (https://github.com/Zbyszard/Matlab-Comment-Stripper/releases/tag/v1.0.0), GitHub. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxTags
Remerciements
Inspiré par : % MATLAB Comment Stripping Toolbox
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
tests
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |