필터 지우기
필터 지우기

qhull version and wrapper

조회 수: 3 (최근 30일)
Rodrigo
Rodrigo 2013년 6월 3일
답변: Rodrigo 2016년 8월 16일
Hi, I've been playing around with regular tessellations and realized that R2013a seems to use a very old version of qhull. The qhull project website recommends upgrading to their 2012.1 version to avoid overflow problems, but I don't know how I would wrap such a complicated project in a mex file. The qhull.m file gives some indication, but is hardly detailed enough.
Thanks

답변 (1개)

Rodrigo
Rodrigo 2016년 8월 16일
I'd like to bump this ancient question, but now with a new twist: mex wrapper with OpenMP. I need to compute the convexhulls of hundreds of thousands of configurations that include thousands of points, and parfor blows up my RAM.
Is it possible to run qHull, even as an external library, within a mex file that is running multiple threads? I'm not sure, but there seems to be reason to believe that memory allocation within mex files is not thread safe.
Thanks, Rodrigo

카테고리

Help CenterFile Exchange에서 Voronoi Diagram에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by