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ò (2025). squeezefile (https://www.mathworks.com/matlabcentral/fileexchange/4802-squeezefile), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | New options:
|