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
Nitin Skandan (2024). C code comment remover (https://www.mathworks.com/matlabcentral/fileexchange/11877-c-code-comment-remover), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
script updated with new features (blank lines will be removed)