removeComments(filename,commentIndicator)
Returns the contents of a file with comments stripped.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Brett Shoelson (2026). removeComments(filename,commentIndicator) (https://ch.mathworks.com/matlabcentral/fileexchange/48057-removecomments-filename-commentindicator), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: % MATLAB Comment Stripping Toolbox
General Information
- Version 1.0.0 (1.63 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux