Is it possible to set the FaceColor on my waitbar GUI using 2015a?

2 次查看(过去 30 天)
This solution does not work:
xx = waitbar(0,"Waiting ...");
xxObj = findobj(xx,'Type','Patch');
set(xxObj,'FaceColor','blue');

回答(1 个)

Walter Roberson
Walter Roberson 2016-9-30
No, that is not possible.
As I posted in http://www.mathworks.com/matlabcentral/answers/293374-waitbar-color-2016a-is-broken-red-how-to-set-to-older-continuous-green#answer_227433 waitbar now delegates to a Java javax.swing.JProgressBar . Those do not have a Facecolor.

类别

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