3.0

3.0 | 3 ratings Rate this file 3 Downloads (last 30 days) File Size: 3.11 KB File ID: #11877

C code comment remover

by Nitin Skandan

 

03 Aug 2006 (Updated 04 Aug 2006)

Removes comments

| Watch this File

File Information
Description

Given a c file withe lot of comments. Ex: c code generated automatically. removing comments will make expose the source code. Use this m file for that

MATLAB release MATLAB 7.0.1 (R14SP1)
Other requirements None
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
04 Aug 2006 Stephan Lennartz

nice program, achieves the same as a c-compiler preprocessing output (RTFM, when you need the option for that, maybe something like "cc -i").
Here all comments are typed over with white space so that the outputfile has the sames size.
After trying out comes the question, where is a C to MatLab converter. And shouldn't be there one that takes with the good C-comments ?

11 Sep 2006 dhana balu

somewhat better

06 Jun 2008 Sreejith Mohan  
Please login to add a comment or rating.
Updates
04 Aug 2006

script updated with new features (blank lines will be removed)

Tag Activity for this File
Tag Applied By Date/Time
development environment Nitin Skandan 22 Oct 2008 08:34:26
c code Nitin Skandan 22 Oct 2008 08:34:26
comments Nitin Skandan 22 Oct 2008 08:34:26
utilities Nitin Skandan 22 Oct 2008 08:34:26
development Nitin Skandan 22 Oct 2008 08:34:26

Contact us at files@mathworks.com