Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • LitePublisher 5.52
  • Piwigo 2.5.0
  • InK 1.0
  • jQuery RS Carousel 0.11.1
  • WP Catalogue 1.4
  • javascript-video-scrubb...
  • ll.filtrera.js
  • CSS Browser Selector + ...
  • WordPress Nginx 1.6.13
  • Timer alert
  • Home > Scripts > Development Tools

    statusbar

    Download button


    Downloads: 581  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.4/5)
    17 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Yair Altman | More scripts
    www.mathworks.com
    Freeware 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    Matlab
    October 9th, 2007, 06:52 GMT
    C: \ Development Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    statusbar description

    statusbar - set/get status bar(s) for GUI figures & Matlab desktop

    statusbar sets the status-bar text of the Matlab desktop or a figure. statusbar accepts arguments in the format accepted by the sprintf function and returns the statusbar handle(s), if available.

    Syntax:
    statusbarHandle = statusbar(handle, text, sprintf_args...)

    statusbar(text, ...) sets the status bar text for the currently selected figure. If no figure is selected, then one will be created. Note that figures with 'HandleVisibility' turned off will be skipped. In these cases, simply pass their figure handle as first argument.

    statusbar(handle, ...) sets the status bar text of the figure handle (or the figure which contains handle). If the status bar was not yet displayed for this figure, it will be created and displayed. If text is not supplied, then any existing status bar is erased, unlike statusbar(handle, '') which just clears the text.

    statusbar(0, ...) sets the Matlab desktop's status bar text. If text is not supplied, then any existing text is erased, like statusbar(0, '').

    statusbar([handles], ...) sets the status bar text of all the requested handles.

    statusbarHandle = statusbar(...) returns the status bar handle for the selected figure. The Matlab desktop does not expose its statusbar object, so statusbar(0, ...) always returns []. If multiple unique figure handles were requested, then statusbarHandle is an array of all non-empty status bar handles.

    Notes:
    1) The format statusbarHandle = statusbar(handle) does NOT erase any existing statusbar, but just returns the handles.
    2) The status bar is 20 pixels high across the entire bottom of the figure. It hides everything between pixel heights 0-20, even parts of uicontrols, regardless of who was created first!

    Examples:
    > statusbar; % delete status bar from current figure
    > statusbar(0, 'Desktop status: processing...');
    > statusbar([hFig1,hFig2], 'Please wait while processing...');
    > statusbar('Processing %d of %d (%.1f%%)...',idx,total,100*idx/total);
    > statusbar('Running... [%s%s]',repmat('*',1,fix(N*idx/total)),repmat('.',1,N-fix(N*idx/total)));
    > existingText = get(statusbar(myHandle),'Text');

    Examples customizing the status-bar appearance:
    > sb = statusbar('text');
    > set(sb.CornerGrip, 'visible','off');
    > set(sb.TextPanel, 'Foreground',[1,0,0], 'Background','cyan', 'ToolTipText','tool tip...')
    > set(sb, 'Background',java.awt.Color.cyan);

    Requirements:

    · MATLAB Release: R2007a



    TAGS:

    matlab statusbar | status bar | development tools | matlab | statusbar | status

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM