txtprogressbar

버전 1.0.0.0 (2.1 KB) 작성자: Bogdan Cristea Eugen
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 (2024). txtprogressbar (https://www.mathworks.com/matlabcentral/fileexchange/15030-txtprogressbar), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Startup and Shutdown에 대해 자세히 알아보기
도움

받음: progressbar

줌: Autoscaleit

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

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