You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compiled kdtree_build.cpp with matlab 2013a on windows 7. The command I use is mex kdtree_build.cpp. However, when I execute kdtree_build(p), I got a runtime error "attempt to execute script as a function".
I found this is caused by the duplicated name of kdtree_build.m and kdtree_build.mex64. When I trying to invoke function kdtree_build, matlab actually invoke file kdtree_build.m instead of kdtree_build.mex64. If I rename kdtree_build.m to other name, it works fine.
So how can I associate the binary file kdtree_build.mex64 with comment filekdtree_build.m?
OS: windows 7
matlab: 2013a
kdtree version: 1.2
The text was updated successfully, but these errors were encountered:
I compiled kdtree_build.cpp with matlab 2013a on windows 7. The command I use is
mex kdtree_build.cpp
. However, when I executekdtree_build(p)
, I got a runtime error "attempt to execute script as a function".I found this is caused by the duplicated name of
kdtree_build.m
andkdtree_build.mex64
. When I trying to invoke functionkdtree_build
, matlab actually invoke filekdtree_build.m
instead ofkdtree_build.mex64
. If I renamekdtree_build.m
to other name, it works fine.So how can I associate the binary file
kdtree_build.mex64
with comment filekdtree_build.m
?OS: windows 7
matlab: 2013a
kdtree version: 1.2
The text was updated successfully, but these errors were encountered: