rmcomment

Version 1.1.0 (2,59 KB) von Kim Dohyun
remove comments from m-file or MATLAB code string.
29 Downloads
Aktualisiert 20. Dez 2019

Lizenz anzeigen

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

Zitieren als

Kim Dohyun (2026). rmcomment (https://de.mathworks.com/matlabcentral/fileexchange/70254-rmcomment), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2018b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu File Operations finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: Remove comments in source code

Version Veröffentlicht Versionshinweise
1.1.0

1. Only accept filename
2. Bugfix - string handling.
3. Option for creating new file

1.0.0