waibar doesn't work with parallel for
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Benny
am 7 Mär. 2024
Kommentiert: Benny
am 7 Mär. 2024
On Windows 10, R2022b:
The following (simplifyied) code works:
for k=1:2
wb = waitbar(0,'Wait...','WindowStyle','modal');
end
but changing it to:
parfor k=1:2
wb = waitbar(0,'Wait...','WindowStyle','modal');
end
throws:
Error using matlab.internal.lang.capability.Capability.require
Support for Java user interfaces is required, which is not available on this platform.
Error in waitbar (line 46)
Capability.require(Capability.Swing);
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dialog Boxes finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!