From 876144d03af25bbc5a0196788cb5a321762bef7b Mon Sep 17 00:00:00 2001 From: James Cave <47832695+jmcave@users.noreply.github.com> Date: Tue, 11 Oct 2022 13:11:35 +0100 Subject: [PATCH] Fix typo in example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e93a8df..bb85221 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,7 @@ pool = parpool(c); % List the hosts the workers are running on. For a small pool, % all the workers will likely be on the same machine. For a large % pool, the workers will be spread over multiple nodes. -future = parfevalOnAll(p, @getenv, 1, 'HOST') +future = parfevalOnAll(pool, @getenv, 1, 'HOST') wait(future); fetchOutputs(future)