Differences

This shows you the differences between two versions of the page.

Link to this comparison view

reference:peerfeval [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  PEERFEVAL =====
 +
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help peerfeval"​.
 +
 +<​html><​pre>​
 +  <a href=/​reference/​peerfeval><​font color=green>​PEERFEVAL</​font></​a>​ execute the specified function on another peer.
 + 
 +  Use as
 +    jobid  = peerfeval(fname,​ arg1, arg2, ...)
 +    argout = peerget(jobid,​ ...)
 + 
 +  This function has a number of optional arguments that have to passed
 +  as key-value pairs at the end of the list of input arguments. All other
 +  input arguments (including other key-value pairs) will be passed to the
 +  function to be evaluated.
 +    timeout ​ = number, in seconds (default = inf)
 +    sleep    = number, in seconds (default = 0.01)
 +    memreq ​  = number, in bytes   ​(default = 0)
 +    timreq ​  = number, in seconds (default = 0)
 +    hostid ​  = number, only evaluate on a particular host
 +    diary    = string, can be '​always',​ '​warning'​ or '​error'​
 + 
 +  Example
 +    jobid  = peerfeval('​unique',​ randn(1,​10));​
 +    argout = peerget(jobid,​ '​timeout',​ inf);
 +    disp(argout);​
 + 
 +  See also <a href=/​reference/​peerget><​font color=green>​PEERGET</​font></​a>,​ <a href=/​reference/​peercellfun><​font color=green>​PEERCELLFUN</​font></​a>,​ <a href=/​reference/​peermaster><​font color=green>​PEERMASTER</​font></​a>,​ <a href=/​reference/​peerslave><​font color=green>​PEERSLAVE</​font></​a>,​ FEVAL, DFEVAL, DFEVALASYNC
 +</​pre></​html>​