FWAITBAR

버전 1.0.0.0 (1.07 KB) 작성자: Elmar Tarajan
Displays timer controlled wait bar for working with files.
다운로드 수: 2.1K
업데이트 날짜: 2006/12/19

라이선스 없음

Creates and displays a waitbar depending on the file position indicator(FID).
Due to the fact that the waitbar updates automatically via timer function
it is not necessary to update it manually in each cycle of the loop.

H = FWAITBAR(FID) initializes the waitbar due to file identifier
obtained from FOPEN. The length of the bar will compute due to
file position indicator obtained from FTELL.
The handle to the waitbar figure is returned in H.

FWAITBAR(FID,'message') initializes the wait bar with a specified
message.

FWAITBAR is typically used outside a FOR/WHILE loop that performs a
lengthy operation with readout of files.

Example
fid=fopen('fopen.m');
fwaitbar(fid);
while 1
tline = fgetl(fid);
if ~ischar(tline), break, end
disp(tline)
pause(0.05)
end
fclose(fid);

인용 양식

Elmar Tarajan (2024). FWAITBAR (https://www.mathworks.com/matlabcentral/fileexchange/13446-fwaitbar), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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