error running crabsort
Closed this issue · 10 comments
crabsort works on my computer on R2018a, so I don't think it's a compatibility issue
Running
parallel.FevalFuture
ans =
FevalFuture with properties:
ID: -1
Function: []
CreateDateTime:
StartDateTime:
Running Duration: 0 days 0h 0m 0s
State: unavailable
Error:
so it looks like your parallel pool is broken in some way. can you start one using parpool
?
Run this to check if parallel computing toolbox is installed:
v = ver;
pc_toolbox = any(~cellfun(@isempty, cellfun(@(x) strfind(x, 'Parallel Computing'), {v.Name},'UniformOutput', false)));
assert(pc_toolbox, 'Parallel computing toolbox not installed!')
based on the errors you showed me, it looks like you haven't installed the parallel toolbox.
can you run this:
v = ver;
pc_toolbox = any(~cellfun(@isempty, cellfun(@(x) strfind(x, 'Parallel Computing'), {v.Name},'UniformOutput', false)));
assert(pc_toolbox, 'Parallel computing toolbox not installed!')
update: it works on R2019b for me, so i'm pretty sure you just don't have the parallel toolbox
the pref file will be generated when you first run crabsort...so if you're having other issues that prevent it from starting up, then you won't see the pref file
also heads up: there is no release for crabsort anymore. you'll have to manually download it and necessary packages
see this
Assuming everything works now, re-open if this is not the case