Delete empty line in .dat file.
Show older comments
I have to import .dat file into matlab and there are thousands of empty lines (as shown in the attaced picture). I need to delete these lines.

Accepted Answer
More Answers (0)
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!