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.
hi, very nice application. But when it works perfect up to line 277 after that it don't work as it supposed to work. There there anything that i can change?? like some memory limitations?? i need to use it on a file with 17000 lines. Any suggestions please.
29 Mar 2006
Useful. A bit out of date, though: With R14, I'm getting a many copies of this warning:
Warning: The 'tokenize' option for regexprep is now the default behavior. If I remove 'tokenize' it goes away.
27 Jul 2005
24 Mar 2004
Excellent! This is regular expressions on steroids...makes quick work of comment stripping. Thanks, Peter.