File Exchange

image thumbnail


version 1.0.0 (1.67 KB) by Paul Shoemaker
prints to the command window, like the built-in disp, but unlike disp, it overwrite previous calls to keep printing on a single line.

1 Download

Updated 01 Dec 2019

View License

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 (2021). dispinline (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!