gs_wait.m

Go to the documentation of this file.
00001 function [varargout] = gs_wait(varargin)
00002 % [outputargs, ...] = gs_wait(sessionid)
00003 % 
00004 % Wait for the completion of an asynchronous job (sessionid) which was
00005 % previously submitted to the GridSolve network enabled solver
00006 % system.  
00007 %
00008 % See also gs_call_async.
00009 
00010 if (nargout > 0) 
00011   for i=1:nargout, varargout{i} = []; end
00012   [varargout{:}] = matlab_gs_lib(3, varargin{:});
00013 else 
00014   matlab_gs_lib(3, varargin{:});
00015 end