MATLAB: How to calculate a 2D minimum circumscribed circle

2d geometryminimum circumscribed circle

I have a set of points in 2D and want to find the minimum circumscribed circle (i.e. the smallest circle containing all points). I have found the script cvoronoi that should do it, but when I run that script it terminates with the error "qvoronoi failed". Also Matlab 2013 finds hundreds of warnings in the code. Is there any alternative code calculating the minimum circumscribed circle from a set of 2D points?
Related Question