cwaitbar Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: cwaitbar.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Rasmus Anthin (View more)

cwaitbar script description:



cwaitbar is a Matlab script for Development Tools scripts design by Rasmus Anthin. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
cwaitbar - A generalization of the waitbar function

Publisher review:
cwaitbar - A generalization of the waitbar function An extension/generalization of the MATLAB's WAITBAR function. Used when you want to show progress in "nested computations". Supports different coloring of bars other than the default red color. See example below on usage.%%%%%CWAITBAR Display compound wait bar.H = CWAITBAR(X,TITLE) creates and displays wait bars of fractional lengths X and with one title string TITLE.The handle to the compound waitbar figure is returned in H.X values should be between 0 and 1.Each subsequent call to cwaitbar, CWAITBAR([BAR X]), extends the length of the bar BAR to the new position X. The first bar is the topmost bar and is BAR = 1 which corresponds to the outermost loop.H = CWAITBAR(X,TITLE) where TITLE is a cellstring with same number of titles as there are fractional lengths in X.Suitable for showing the bars' corresponding loop indices.H = CWAITBAR(X,TITLE,COLOR) where COLOR is the color of the bars. COLOR is either a color code character (see PLOT) or an RGB vector. The default color is red. COLOR can also be a cell array with same number of elements as there are bars in the cwaitbar figure.The order of the elements in vector X and cell arrays TITLE and COLOR which is consistent with the bar number BAR is:The first element corresponds to the first bar at the top of the figure which in turn corresponds to the outermost loop.CWAITBAR is typically used inside nested FOR loops that performs lengthy computations.Examples:cwaitbar([.3 .2 .7],'Please wait...'); %single titleh = cwaitbar([0 0 0],{'i','j','k'},{[.8 .2 .8],'b','r'});for i=1:5,% computations %for j=1:10% computations %for k=1:100% computations %cwaitbar([3 k/100])endcwaitbar([2 j/10])endcwaitbar([1 i/5])endclose(h)See also WAITBAR.%%%%%%%%%%% Requirements: ยท MATLAB Release: R10
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

Apple prepares iPhone 5 and iOS 6

Apple prepares iPhone 5 and iOS 6

New information coming from some sources close to Apple confirming that the Cupertino giant is testing two different models of iPhone, called internal iPhone5, 1 and iPhone 5.2. Apparently, both devices have a screen of 3.95 inches and a resolution of 113

Posted on: 24 May 2012 08:36 by A. Brown

Windows 8 estimates: 500 million users in 2013

Windows 8 estimates: 500 million users in 2013

Microsoft expects to launch a new wave of optimism with Windows 8. In a recent statement, Steve Ballmer, chief executive at Microsoft, estimates that Windows 8 will reach a total of about 500 million users by the end of 2013.

Posted on: 24 May 2012 08:25 by A. Brown

SPREAD THE WORD

User Rating

cwaitbar
Rating: 0.0 out of 5
Based on 0 ratings. 0 user reviews.

  • Currently 0.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5