warning in findblockreaction script from cobra

i run the findblockreaction script in Cobra
>> blockedReactions = findBlockedReaction(model)
Then i got this warning:
Warning: matlabpool will be removed in a future release.
To query the size of an already started parallel pool, query the 'NumWorkers' property of the pool.
To check if a pool is already started use 'isempty(gcp('nocreate'))'.
The following error occurred converting from cell to double:
Error using double
Conversion to double from cell is not possible.
Error in findBlockedReaction (line 23)
blockedReactions(cnt) = model.rxns(i);
Does anyone know why and how to make it run?
thanks,

1 Comment

The replacement for matlabpool is parpool if you are just trying to set up the pool size.
The problem you are encountering appears to be unrelated to the matlabpool issue.
Which version of MATLAB are you using?
And which Cobra package are you using? Cobra has been used for many different software packages over the years.

Answers (0)

This question is closed.

Tags

No tags entered yet.

Asked:

on 19 Nov 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!