The following error occurred converting from cvx to double:
Error using double
Conversion to double from cvx is not possible.
It’s not likely we can help you if you do not provide any context for your error. Please edit your question and provide some example code that causes this problem.
You can find the answer in the users’ guide.