image thumbnail


version (7.08 KB) by Chad Greene
Wrap long text to a specified width.


Updated 23 Sep 2015

View License

This function lets you wrap long text strings to a specified width in characters. If no width is specified, the current width of your command window is used.

Cite As

Chad Greene (2021). wraptext (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: strlookup

Inspired: ecopath_matlab: A Matlab implementation of Ecopath, xkcd1930

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!