MATLAB PARALLEL COMPUTING TOOLBOX - S Guida Utente Pagina 490

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 489
11 Functions — Alphabetical List
11-146
isequal (FevalFuture)
True if futures have same ID
Syntax
eq = isequal(F1,F2)
Description
eq = isequal(F1,F2) returns logical 1 (true) if futures F1 and F2 have the same ID
property value, or logical 0 (false) otherwise.
Examples
Compare future object in workspace to queued future object.
p = parpool('local',2);
q = p.FevalQueue;
Fp = parfevalOnAll(p,@pause,0,30);
F1 = parfeval(p,@magic,1,10);
F2 = q.QueuedFutures;
isequal(F1,F2)
1
See Also
fetchOutputs | cancel | fetchNext | parfeval | wait
Vedere la pagina 489
1 2 ... 485 486 487 488 489 490 491 492 493 494 495 ... 655 656

Commenti su questo manuale

Nessun commento