gs_probe_or.m

Go to the documentation of this file.
00001 function [varargout] = gs_probe_or(varargin)
00002 % [status, sessionid] = gs_probe_or(sessionid_array)
00003 % 
00004 % Check on the status of an array of service requests that were
00005 % previously submitted to the GridSolve network enabled solver.
00006 % Return status can be
00007 % GRPC_NO_ERROR                  0
00008 % GRPC_INVALID_SESSION_ID        8
00009 % GRPC_NONE_COMPLETED           13
00010 % GRPC_OTHER_ERROR_CODE         14
00011 %
00012 % If there was no error (status=0) then the returned sessionid
00013 % points to a completed service, whose results can be fetched using
00014 % a gs_wait call.
00015 %
00016 % See also gs_call_async
00017 
00018 if (nargout > 0) 
00019   for i=1:nargout, varargout{i} = []; end
00020   [varargout{:}] = matlab_gs_lib(10, varargin{:});
00021 else 
00022   matlab_gs_lib(10, varargin{:});
00023 end
00024