Matlab with LeapMotion

Reply
Avatar
by Thyxx38

Hello,

I received my Leap Motion today. \o/

Before start to program my own app, I want to know if some people have start to using the Leap Motion with Matlab: I go control the 3D graphs with it.

Thanks

Avatar
by elsinc89

Are you talking about directly interfacing MATLAB with the Leap or simply using the Leap to control the mouse to use in MATLAB?

In reply to Thyxx38
Avatar
by Thyxx38

I don't want interfacing the Leap and Matlab.
I speak about control the view in the 3D representations.
As with the mouse actually but with the Leap, we can control the zoom with the z-axis.

In reply to elsinc89
Avatar
by elsinc89

Then all you need to do is control the mouse with the Leap.

In reply to Thyxx38
Avatar
by Thyxx38

Thanks but I don't think that it's so easy.
Because if I'm not mistaken, in Matlab the options "Zoom" and "Rotation" are separated: we can't rotate and zoom in same time.

In reply to elsinc89
Avatar
by Jed87

Hi,

have anyone managed to interface the leap motion with MATLAB directly?

Need help in extracting realtime data to MatLab Simulink.

Avatar
by jeffsp

See:

https://github.com/jeffsp/matleap

It returns a struct containing frame timestamp, id, and pointables, and each pointable contains the id, position, velocity, and direction.

It has been tested on Linux and OS/X.

In reply to Jed87
Avatar
by yo1976

Hello,
after created MEX file, and run test i founded this
Invalid MEX-file 'C:\Users\Admin\Documents\leapmotion package\matleap-master\matleap-master\matleap.mexw64': The specified module could not be found.

and i used Dependecy walker, i missing three file

LEAP.dll
LIBMX.dll
LIBMEX.dll

what is my problems?

Thanks

In reply to jeffsp
Avatar
by Jed87

Hello,
after created MEX file, and run test i founded this
Invalid MEX-file 'C:\Users\Admin\Documents\leapmotion package\matleap-master\matleap-master\matleap.mexw64': The specified module could not be found.

and i used Dependecy walker, i missing three file

LEAP.dll
LIBMX.dll
LIBMEX.dll

I am having the same problem too.

Using:

Windows 7 64bit,
MSVC 2010 pro 32bit,
Matlab 2011a.

In reply to yo1976