Remove comments from m-file or MATLAB code string.
Remove the following comments:
1. Starts with %
2. Surrounded by %{ and %} (here, %{ and %} should be at the beginning of the line.
3. any text after three dots
If there is any comment style which is not handled in this code,
please contact to kim92n@gmail.com
Citation pour cette source
Kim Dohyun (2026). rmcomment (https://fr.mathworks.com/matlabcentral/fileexchange/70254-rmcomment), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2018b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur File Operations dans Help Center et MATLAB Answers
Tags
Remerciements
A inspiré : Remove comments in source code
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.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0 | 1. Only accept filename
|
||
| 1.0.0 |
