Code covered by the BSD License  

Highlights from
waitmex: using a waitbar inside a C mexFunction

  • waitex WAITEX same as the waitexample mexFunction, just in M instead of C.
  • waitexample WAITEXAMPLE a C mexFunction that serves as an example for waitmex.
  • waitmex WAITMEX a small library for using a waitbar within a C mexFunction.
  • View all files
from waitmex: using a waitbar inside a C mexFunction by Tim Davis
A set of C routines for creating, updating, and destroying a waitbar from within a mexFunction

waitexample
function waitexample
%WAITEXAMPLE a C mexFunction that serves as an example for waitmex.
%
% Example:
%   waitexample      % draw a waitbar, make progress, and then close the waitbar
%   h = waitexample; % same as above, except leave the waitbar on the screen
%                    % and return the handle h to the waitbar.
%
% See also waitbar, waitex.

% Copyright 2007, T. Davis

error ('waitexample mexFunction not found ... it must be compiled first') ;

Contact us at files@mathworks.com