blockbar

A different progressbar that visualizes the state of computations in nested loops as blocks, not %completed.

You are now following this Submission

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 (2026). blockbar (https://www.mathworks.com/matlabcentral/fileexchange/72243-blockbar), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: MultiWaitBar

Categories

Find more on Loops and Conditional Statements in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with R2016a and later releases

Platform Compatibility

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