Is there a way to count the number of lines in a MATLAB script or function, but not count blank and comment lines?
MATLAB: Count numer of lines in a MATLAB script, ignoring comments and blanks
blankcommentcountlineMATLAB
Related Question
- Does a commented out line generate an error
- How to read a text file and then take out specific words in that text file
- How to obtain the number of lines starting with a given string from an external text file and save the numeric value of variables of those lines
- How to find the last occurrence of a match using regexp in MATLAB
- How to match nested parenthesis (brackets, or braces) with dynamic regular expressions
Best Answer