Code covered by the BSD License  

Highlights from
% MATLAB Comment Stripping Toolbox

image thumbnail
from % MATLAB Comment Stripping Toolbox by Peter J. Acklam
A small collection of utilities for stripping MATLAB comments from strings and files.

Contents.m
% MATLAB comment stripping toolbox.
% Version 1.0 18-Mar-2004
%
% mlstripcommentsstr  - Strip comments from a string with MATLAB code.
% mlstripcommentsfid  - Strip comments from code read from file identifier.
% mlstripcommentsfile - Strip comments from a file with MATLAB code.

Contact us at files@mathworks.com