squeezefile

Squeeze text files.
960 Downloads
Updated 13 May 2004

No License

This simple function scan a text file and, if necessary, rewrite it in order to remove all unusefull ending blanks. It also allows to adjust the starting spaces/tabs of each line.
It can be used when developing an application with lots of text files to make them look all in the same way, especially when using text editor with different tab sizes.
It can be applied recursively to subfolders.

Cite As

Giuseppe Ridinò (2026). squeezefile (https://uk.mathworks.com/matlabcentral/fileexchange/4802-squeezefile), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Environment and Settings in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

New options:
- apply recursively to subfolders
- hide/display log in the command window
- hide/display final report in the command window