Accessing Wii accelerometer data in MATLABI compiled this dll by writing a C- MEX function. Using this file is very simple. Just download the dll file from the link below and save it in the work directory of MATLAB. The name of the dll is main and it returns three values corresponding to the accelerometer values. For example, [accX accY accZ] = main(); This code will return the values of accelerometers X, Y and Z in accX, accY and accZ correspondingly. For example, [accX accY accZ] =main(); To acccess the data periodically one can put the code in a loop. For example, for i =1:100 To download the dll click below: (The dll has already been downloaded more than 7000 times!!!!!!
Thank you for all your love and support . Unfortunately the file was deleted from the server where I had uploaded earlier. I am sorry for the inconvenience it caused but now I have fixed it)
Description: To download the matlab file to get a plot similar to one shown in the video click below: Here's a small demo if using Half-Life with my Wiimote |
Hobby Projects >