dispinline

prints to the command window, like the built-in disp, but unlike disp, it overwrite previous calls to keep printing on a single line.

You are now following this Submission

Do you ever want to see progress of a FOR/WHILE loop by printing information to the command window, but want to keep the printing to a single line instead of scrolling down the command window? If so then this is the utility for you. Just clear the print register before the loop with "dispinline('')" and then use dispinline in the loop just like disp.

Cite As

Paul Shoemaker (2026). dispinline (https://uk.mathworks.com/matlabcentral/fileexchange/73500-dispinline), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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