Remove comments in source code
Version 1.0.1 (5.48 KB) by
Stéphane Issartel
Removes m-style comments from code.
Removes m-style comments from code.
Cite As
Stéphane Issartel (2025). Remove comments in source code (https://uk.mathworks.com/matlabcentral/fileexchange/182709-remove-comments-in-source-code), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: rmcomment, MATLAB comment remover, % MATLAB Comment Stripping Toolbox
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
