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:




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
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

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

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