waittext
Display updating line of text or textual waitbar in Matlab Command Window.
waittext is a fast full-featured text-based alternative to Matlab's GUI-based waitbar. See included help and demos for usage.
waittext is typically used inside of a for loop that performs a lengthy computation. waittext updates the current line very quickly. If a for loop takes less than 10 ms (0.01 sec.) to execute, it is reccomended that a textual waitbar be used or that waittext not be called every iteration in order for the updating text values to be more easily readable.
Inspired by: blogs.mathworks.com/loren/2007/08/01/monitoring-progress-of-a-calculation/#7
Cite As
Andrew Horchler (2025). waittext (https://github.com/horchler/waittext), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
demo
test
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Improved description
Improved description
|
|