dispx: Display styled string in xterm

Display string with underlined, bold or colored characters in an xterm.

You are now following this Submission

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 (2026). dispx: Display styled string in xterm (https://uk.mathworks.com/matlabcentral/fileexchange/11376-dispx-display-styled-string-in-xterm), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0