필터 지우기
필터 지우기

Create a waitbar to see the progress time evolution of the code without for loop

조회 수: 8 (최근 30일)
Jessie Bessel
Jessie Bessel 2020년 11월 7일
댓글: VBBV 2020년 11월 7일
Hi!
I have a matlab code without a for loop, like in the following pseudocode exemple:
a=1;
b=2;
do instruction 1
do instruction 2
.........
do instruction n
Is there any chance to create a waitbar to see the progress of the neccessary time for finishing the instructions.
I now about "tic-toc", but i would like to se a progress bar.
Thank you!
  댓글 수: 2
Mario Malic
Mario Malic 2020년 11월 7일
You can write a function that updates the progress bar based on the value of input argument, then you call the function at some points in the code, maybe after certain instructions.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Dialog Boxes에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by