parallel_doc: reval

Next: select_sockets, Previous: precv, Up: Cluster execution [Index]

### 3.14 Remote command evaluation

Loadable Function: reval (commands, connections)

  Evaluate commands at all remote hosts specified by connections.

  This function can only be successfully called at the client machine. commands must be a string containing Octave commands suitable for execution with Octaves `eval()` function. See `pconnect` for a description of the connections variable. connections can contain all connections of the network, a subset of them, or a single connection. The local machine (client), if contained in connections, is ignored. commands is executed in the same way at each specified machine.

  See also: pconnect, pserver, psend, precv, sclose, parallel_generate_srp_data, select_sockets.