1. Necessary System Requirements
- Windows 7 32/64 bit: (64 bit is preferred)
2. MatLab R2011b or later
3. CMEX Compiler: Microsoft Visual Studio 2010 Express Edition (VC++)
4. Download OpenNI
- Go to http://www.openni.org/Downloads/OpenNIModules.aspx
- Select, download, and install: OpenNI Binaries-Stable-OpenNI Stable Build for Windows Development Edition and select your system (32 bit or 64 bit)
- Select, download, and install: OpenNI Compliant Middleware Binaries-Stable-PrimeSense NITE Stable Build for Windows and select your system (32 or 64 bit)
- Select, download, and install: OpenNI Compliant Hardware Binaries-Stable-PrimeSensor Module Stable Build for Windows and select your system (32 or 64 bit)
5. Download Simulink Support for Kinect
Can be obtained from MatLab File Exchange:
http://www.mathworks.com/matlabcentral/fileexchange/32318
http://www.mathworks.com/matlabcentral/fileexchange/32318
6. Configure CMEX Compiler in MatLab
Type mex-setup in the command prompt of MatLab to select the compiler configuration and select Microsoft Visual Studio 2010 Express Edition as the compiler using the on screen instructions.
More information on mex can be obtained from:
http://www.mathworks.com/help/matlab/ref/mex.html
More information on mex can be obtained from:
http://www.mathworks.com/help/matlab/ref/mex.html
7. Install Simulink Support for Kinect
- Reboot PC
- Unzip the Simulink Support Folder and save it to a directory of your choosing
- Open and Run slkinect/setup_openni.m
- If everything is installed correctly, a CMEX file (sfun_nid.mexw32)_