rmcomment

Versión 1.1.0 (2,59 KB) por Kim Dohyun
remove comments from m-file or MATLAB code string.
29 Descargas
Actualizado 20 dic 2019

Ver licencia

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

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2018b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre File Operations en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas
Agradecimientos

Inspiración para: Remove comments in source code

Versión Publicado Notas de la versión
1.1.0

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

1.0.0