Disciplined convex error

(Mahmoud Alageli) #1

Is there any way to prevent CVX’s disciplined convex programming error from suspending Matlab execution. The main code invokes a function that performs CVX optimizatio, so even if there is a disciplined convex programming error, I need the main code continues execution.

(Michael C. Grant) #2

You’ll need to study MATLAB’s documentation on exception handling for instructions on how to recover gracefully from DCP errors.