The following error occurred converting from cvx to double: Error using double Conversion to double from cvx is not possible

I’m guessing that my answer Using double incorrectly. Cannot convert from cvx to double applies.

And don’t use quiet until you are sure everything is working well.