Bland Blog

Welcome

free hit counter

即時新聞快訊
Advertisement
Other things
2008年6月13日 星期五
在matlab中顯示出處理程序的百分比


  今天在搞matlab時,突然想加入的無聊功能,依據help文件的作法(見下面程式碼),只能跑出一條紅色的bar,並不會告知目前已經處理多少百分比。

h = waitbar(0,'Please wait...');
for i=1:100, % computation here %
waitbar(i/100)
end
close(h)


  所以,只要照圖片上的密技改寫一下,就能簡單完成這個無聊的小需求了...:P
posted by 咕咕雞 @ 下午 1:42  
0 Comments:
張貼意見
<< Home
 
About Me

Name: 咕咕雞
Home: HsinChu City, Taiwan
About Me:
See my complete profile
Previous Post
Archives
My_Hayperlink
The Photographers' Gallery of My_friends
Powered by
BLOGGER Creative Commons License