I have problems using my waitbar. This is the code I want to run:
h = waitbar(0,'uiae');
for file_num = 1:numel(files)
waitbar(file_num/numel(files),h);
end
but I get the following Error:
Error using waitbar (line 110)
Improper arguments for waitbar.
Error in Analyze_NM__Measurement (line 47)
waitbar(file_num/numel(files),h);
Caused by:
Error using getappdata
Invalid object handle
Even if I run it like this I will get the same Error:
h = waitbar(0,'uiae');
for file_num = 1:numel(files)
waitbar(0.5,h);
end
Similar uses in other program work just fine. What is my mistake?

댓글 수: 1

Felix
Felix 2024년 2월 5일
I have the same error. Im running the new matlab desktop. not sure if pertains to that version specifically.

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

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 App Building에 대해 자세히 알아보기

질문:

2013년 6월 12일

댓글:

2024년 2월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by