You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The function linewrap.m wraps a single string into multiple lines by breaking it at word boundaries. The user can specify the desired maximum number of characters per line.
Cite As
Steve Eddins (2026). Line-wrap a string (https://ch.mathworks.com/matlabcentral/fileexchange/9909-line-wrap-a-string), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: EnergyPlus Co-simulation Toolbox, Create and Output Montage of Images, SeisLab 3.01
General Information
- Version 1.0.0.1 (2.16 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
