blockbar

A different progressbar that visualizes the state of computations in nested loops as blocks, not %completed.
18 Downloads
Updated 23 Jul 2019

View License

This function provides a different kind of waitbar. It was written for slow nested loops in which the same task is carried out repeatedly. Each task / process owns its "block" that changes color upon completion.

This function is ideal for the monitoring of parfeval computations. It allows selected cancellations of futures that have gotten "stuck".

Features:
- Multiple progress bars
- Ability to cancel and retrieve information on which of the unfinished tasks / processes should be canceled.
- Robustness against accidental window closure. Window will simply be replaced.
- No %completed. Instead the user is informed visually
- Simple, flat design.
- Minimal overhead, very similar to MATLAB's waitbar.
- Function help contains example code.

Cite As

Urban Wünsch (2024). blockbar (https://www.mathworks.com/matlabcentral/fileexchange/72243-blockbar), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with R2016a and later releases
Platform Compatibility
Windows macOS Linux
Categories
Find more on Loops and Conditional Statements in Help Center and MATLAB Answers
Acknowledgements

Inspired by: MultiWaitBar

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