taiya / kdtree Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/kdtree-matlab
Automatically exported from code.google.com/p/kdtree-matlab
I consistently got system crashes on my system with Matlab 2016b,windows10, visual studio 2013 c++. The problem is that longs have only 4 Byte in VS and casting pointers to long breaks them. Could fix it by replacing long by intptr_t,
(reported by somebody)
What steps will reproduce the problem?
1. create > 2D tree
2. range query
3. segmentation fault
What version of the product are you using? On what operating system?
Intel Mac x64, kdtree 2.0-beta
Original issue reported on code.google.com by [email protected]
on 20 Jan 2013 at 10:12
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.