% MATLAB Comment Stripping Toolbox

A small collection of utilities for stripping MATLAB comments from strings and files.
3.7K Downloads
Updated 22 Mar 2004

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This is a small collection of utilities for stripping MATLAB comments from MATLAB code. The code may be given in strings, cell arrays of strings, or read from a file or file identifier. There is full support for stripping comments from multi-line strings, that is strings with embedded newlines, which typically appear when an entire file is read in one go.

Cite As

Peter John Acklam (2024). % MATLAB Comment Stripping Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/4645-matlab-comment-stripping-toolbox), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on File Operations in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0