Animation of incresing value
1 次查看(过去 30 天)
显示 更早的评论
I ahve a one integer value,,, suppose 100. I want it to put in a animation increasing from 0 to 100 with step increment of 1 ,,,How to do it,,and everytime my integer value will change
4 个评论
Matt Kindig
2012-8-7
编辑:Matt Kindig
2012-8-7
Well there are a couple of ways, depending on your desired file format. The easiest way is probably to use imwrite to write out a *.gif. You can create the desired image in a figure() within a loop and then use the method described here http://www.mathworks.com/support/solutions/en/data/1-48KECO/?solution=1-48KECO to animate it.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!