码迷,mamicode.com
首页 > 其他好文 > 详细

MATLAB的小小小命令

时间:2018-03-16 21:34:51      阅读:215      评论:0      收藏:0      [点我收藏+]

标签:span   creat   step   class   property   mes   amp   waitbar   color   

h = waitbar(x,message)
waitbar(x,message,CreateCancelBtn,button_callback)
waitbar(x,message,property_name,property_value,...)
waitbar(x)
waitbar(x,h)
waitbar(x,h,updated message)

example:
h = waitbar(0,Please wait...);
steps = 1000;
for step = 1:steps
    % computations take place here
    waitbar(step / steps)
end
close(h) 

这是个让等待不会太无聊的小命令。

MATLAB的小小小命令

标签:span   creat   step   class   property   mes   amp   waitbar   color   

原文地址:https://www.cnblogs.com/chri330dj/p/8585196.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!