Text Wait/Progress Bar

版本 1.0.1 (1.7 KB) 作者: Xiaoxuan He
A command line version of waitbar() that prints progress in percentage.
210.0 次下载
更新 2019/5/24

查看许可证

This is a command line version of waitbar(). Got inspired by Paul's version but tried to rewrite it in a simpler way, so that other people may find it easier to use or modify.

Usage:
Put it in your for loop. The function will update text message only when the percentage changes, therefore there's no need to add pause() in the loop. For example:

for i = 1:n
textwaitbar(i, n, msg);

% Your execution code.
...
...
...
end

引用格式

Xiaoxuan He (2026). Text Wait/Progress Bar (https://ww2.mathworks.cn/matlabcentral/fileexchange/71638-text-wait-progress-bar), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Loops and Conditional Statements 的更多信息
标签 添加标签
版本 已发布 发行说明
1.0.1

Renewed image.

1.0.0