txtprogressbar

show simulation progress and remaining time as text
ダウンロード: 1.2K
更新 2007/5/24

ライセンスの表示

This program is a text version of the "progressbar" program written by Steve Hoelzer. I have found this program useful when using Matlab in console mode (under Linux) for long simulations (usually several hours). I use to launch Matlab in the background with the following command:

nohup matlab -nojvm -nosplash -nodesktop < my_program.m &

All text output is directed to nohup.out file, which can be tested periodically with: "tail -f nohup.out". Using "nohup" has also the advantage that Matlab continues to run after the user is logged out.

Usage example of "txtprogressbar":
n = 1000;
txtprogressbar % Set starting time
for i = 1:n
pause(0.01) % Do something important
txtprogressbar(i/n) % Update text
end

引用

Bogdan Cristea Eugen (2026). txtprogressbar (https://jp.mathworks.com/matlabcentral/fileexchange/15030-txtprogressbar), MATLAB Central File Exchange. に取得済み.

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

ヒントを得たファイル: progressbar

ヒントを与えたファイル: Autoscaleit

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

help added, now simulation progress has one digit after the decimal point