gs_call_async.m

Go to the documentation of this file.
00001 function [varargout] = gs_call_async(varargin)
00002 % sessionid = gs_call_async('service', inputargs, ...)
00003 % 
00004 % Asynchronous, non-blocking call to the GridSolve network solver.
00005 % Returns a sessionid which can be used by other calls to check on the
00006 % service.  Use gs_info('service') to see the the arguments for the
00007 % service.
00008 %
00009 % See also gs_wait, gs_probe, gs_cancel
00010 
00011 if (nargout~=1 | nargin<1),
00012     error('Usage: [request_id] = gs_call_async(''service_name'', ...) \n');
00013 end
00014 
00015 if (nargout>0),
00016   for i=1:nargout, varargout{i} = []; end
00017   [varargout{:}] = matlab_gs_lib(2, varargin{:});
00018 else 
00019   matlab_gs_lib(2, varargin{:});
00020 end
00021 
00022