Azzera filtri
Azzera filtri

Improper Arguments. Waitbar Error

5 visualizzazioni (ultimi 30 giorni)
Matthias
Matthias il 12 Giu 2013
Commentato: Felix il 5 Feb 2024
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 Commento
Felix
Felix il 5 Feb 2024
I have the same error. Im running the new matlab desktop. not sure if pertains to that version specifically.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Dialog Boxes in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by