readcell returns a "cell" value but not a double scalar. This is where you made a mistake.
Let me convert cell to double.
First, let's generate cell sample:
c = {1}
and this can be converted to double as follows:
cmat = cell2mat(c)
class(cmat)
The cmat is a double scalar and this is the data format that your components asks for.