Prev: how to design two bandpass filter , after same gaussian noise pass throuht those two filter, output gaussian noise have same energy
Next: p-value for multiple linear regression
From: Cyrus on 23 Jul 2010 14:08 I would like to interface my MATLAB 6DOF flight simulation routine I wrote with a USB joystick, but I do not know how to interface to the joystick. Also, because the simulation will have to run real time, I would need to know a way to make the time step follow an actual physical amount of time, otherwise it will blast through at 10x speed. Finally, I would need to know a way to interrupt the while loop with, say, a keystroke of 'space bar' to terminate.
From: Cyrus on 23 Jul 2010 14:56
FYI UPDATE: I got a joystick working using a file from the file exchange server on mathworks. The only thing I need to do now is figure out how to do an interrupt execute on the keyboard, and how to do real time while loop. |