-
Notifications
You must be signed in to change notification settings - Fork 24
Home
ciccio25 edited this page Jan 29, 2024
·
2 revisions
Step by step tutorial
I downloaded Matlab R2016a because it is compatibile with the compiler Microsoft Visual Studio Professional C++ 2010 (C).
I used Leap Motion Orion V3 and copied the file Leap.dll inside the same folder of test_matleap.m (as written in the GitHub page).
My pc is running Windows 10.
Useful link
- https://it.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequirements-Release2016a_SupportedCompilers.pdf for documentation
Step by step tutorial
- https://visualstudio.microsoft.com/it/vs/older-downloads/ dowload Visual Studio 2010 Professional: during the installation select ONLY "Components for c++"
- https://developer.leapmotion.com/releases/leap-motion-orion-321-39frn-3b659 Download Leap Motion V3 and download it
- https://it.mathworks.com/downloads/web_downloads select R2016 to download that version of MatLab
- Open Matlab, with the command
mex -setup c++
check if Matlab uses the same compiler as Visual Studio 2010 - Copy the folder LeapSDK from the website to the same folder of the project and copy Leap.dll from \matleap-master\LeapSDK\lib\x64 to matleap-master
- In Matlab go to matleap-master, right click on the folder LeapSDK, select "Add to path" and then "Select Folders and subfolers"
- Run
build
command - Run
test_matleap
command with the Leap Motion plugged in