4

(D:\Users\Dacy\Desktop\parallel.png)

When using the commandmatlabpool open local 4, then it remind me Undefined function or variable 'matlabpool'.

Is there a change for parallel function?

user3666197
  • 1
  • 6
  • 50
  • 92
omop
  • 41
  • 1
  • 2
    You might want to know, that your attempt to included a local disk file does not work this way -- use a link to pastebin or other online-URL resource and such image can be posted here. – user3666197 Dec 13 '17 at 07:49

1 Answers1

6

matlabpool was removed in MATLAB 2016a according to the Parallel Computing Toolbox Release Notes. Use parpool instead.

parpool('local',4);
jodag
  • 19,885
  • 5
  • 47
  • 66
  • Thanks! But I have another question. If there are communication between datas is the using of parpool function still reasonable ? In other words,could the parpool function be used in Independent process only? – omop Dec 13 '17 at 09:16
  • I don't know what "communication between datas" means, but as far as I know `parpool` opens a pool of workers the same as `matlabpool` used to. – jodag Dec 14 '17 at 03:56