progress

Simple command line progress bar
ダウンロード: 17
更新 2019/9/27

## Usage

`progress('_start')` initializes a new progress bar. Must always be called first.

`progress(i)` updates the progress bar. `i` is a percentage.

`progress(i, m)` is similar, but a percentage is automagically calculated, where `i` is the current step and `m` the maximum number of steps.

`progress('_end')` ends the progress bar.

`progress('_erase')` ends the progress bar and removes if from the command window, restoring it to the way it was before the progress bar was initiated.

`progress(message)` ends the progress bar and adds message after the bar.

`progress(..., opts)` uses options from the struct opts. See below.

## Options

`opts.percentageLength`: sets the number of characters reserved for the percentage display (default: 5)

`opts.barLength`: sets the number of characters reserved for the progress bar (default: 48)

`opts.charEmpty`: sets the "empty" character (default: '.')

`opts.charFilled`: sets the "filled" character (default: '#')

引用

Yarmo Mackenbach (2026). progress (https://github.com/YarmoM/progress), GitHub. 取得日: .

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSpreadsheets についてさらに検索
タグ タグを追加

GitHub の既定のブランチを使用するバージョンはダウンロードできません

バージョン 公開済み リリース ノート
1.0.1

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。