% MATLAB Comment Stripping Toolbox

version 1.0.0.0 (5.32 KB) by Peter John Acklam
A small collection of utilities for stripping MATLAB comments from strings and files.

3.6K 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 (2022). % 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

Community Treasure Hunt

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

Start Hunting!