Update progress bar during executing "movefile" commnad

조회 수: 3 (최근 30일)
Majid kh
Majid kh 2020년 4월 24일
답변: Geoff Hayes 2020년 4월 24일
Hi,
I have written a "m" script for moving a folder from one partition to another partition. I want to use a progress bar to show the level of transmission. Is there any solution to update the progress bar during executing "movefile" command?

답변 (1개)

Geoff Hayes
Geoff Hayes 2020년 4월 24일
Majid - are you moving the folder or each file in the folder? If doing the latter, you would know how many files to move and then you could update a progress bar after every file has been moved. If the former, I don't know how it it is possible to know the progress of moving the directory/folder.
See uiprogress dialog for details and in particular the Indeterminate Progress Bar (for the case of moving the directory).

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by