alecjacobson / gptoolbox

Matlab toolbox for Geometry Processing.
MIT License
628 stars 166 forks source link

不支持将脚本 signed_distance 作为函数执行: E:\MATLAB_File\gptoolbox\mex\signed_distance.m #163

Closed xjtu19 closed 3 months ago

xjtu19 commented 3 months ago

Executing the script signed_distance as a function is not supported. My matlab version is R2021b.

alecjacobson commented 3 months ago

What happens if you issue

which signed_distance

On Mon, Jun 24, 2024, 8:43 PM xjfeng950418 @.***> wrote:

Executing the script signed_distance as a function is not supported. My matlab version is R2021b. I have mex all the functions.

— Reply to this email directly, view it on GitHub https://github.com/alecjacobson/gptoolbox/issues/163, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARDJGIF4QY43Y2U3MFKNV3ZJC4JLAVCNFSM6AAAAABJ2ZJE2WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TCMZWHA4TIMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

xjtu19 commented 3 months ago

I ran this script Offset surface of triangle mesh in matlab in my matlab. The error was reported as the above issue. I just found your answer in STL-offset issue #44, and travelled to mex/ file to find the compiling method. Following your instructions, my issue is settled now. Thank you very much!