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 (2026). wraptext (https://uk.mathworks.com/matlabcentral/fileexchange/53176-wraptext), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Characters and Strings in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: strlookup
Inspired: TMM reflectivity simulator for DBR microcavity polaritons, ecopath_matlab: A Matlab implementation of Ecopath, xkcd1930
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
wraptext/
wraptext/html/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
