dispx: Display styled string in xterm

Display string with underlined, bold or colored characters in an xterm.
1.8K Downloads
Updated 12 Jun 2006

View License

This function allows you to display strings in an xterm with bold, underline, blink and/or color attributes. The format is controlled by embedding commands in the string, similar to LaTeX (though with far less functionality). For example,

dispx('The word \fg{r}{red} will be red.')

This capability will not work with the Desktop user interface, only in an xterm. That is the interface you get on Linux and Mac OS X when you start MATLAB with

matlab -nodesktop

Cite As

Douglas Schwarz (2024). dispx: Display styled string in xterm (https://www.mathworks.com/matlabcentral/fileexchange/11376-dispx-display-styled-string-in-xterm), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Characters and Strings in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0