Coding
Remove C comments and combine blank lines with Python
Based on the References, I modified the code collected by ChunMinChang, and added the blankLineRemover function for combining multiple blank lines into single empty line. This py code is useful for processing the codes generated by Simulink Embedded Coder, since the generated codes may contain annoying comments on version control, Read more…