Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matlabpool doesn't exist in Matlab 2015 and above #3

Open
patricksnape opened this issue Oct 26, 2015 · 1 comment
Open

matlabpool doesn't exist in Matlab 2015 and above #3

patricksnape opened this issue Oct 26, 2015 · 1 comment

Comments

@patricksnape
Copy link

Therefore, all the lines where you check (matlabpool('size')==0) throw an exception. This can be fixed by replacing them with isempty(gcp('nocreate')).

However, I'm not sure if that call works on older versions of Matlab. If someone confirms this still works then I can make a PR to fix this.

@zhusz
Copy link
Owner

zhusz commented Oct 28, 2015

Yes, thanks! And actually we can let the 'if' statement always go to the parfor branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants