wailo wrote:
What to to ask you if MATLAB allows keyboard control input without stopping the execution of program?
I have no idea, but I think it is possible if you look into the high-level functions like S-functions or C language functions, which are not my strongest area.
using Matlab to collect data from A PRO Flight YokeSystem(Saitek)
That's possible in Simulink but I never used this kind of input into Matlab/Simulink. Anyway if you look into the Simulink library you should find there in the Aerospace blockset/Animation/Joystick input, in the 3D Animation blockset/Joystick input, blocks that can input signals from hardware connected to the computer or in the Instruments control blockset you can find same kind of blocks for serial port, UDP, TCP, USB but you need to specify the communication parameters manually.
For my PhD project I used an Analog Input block in Simulink and a National-Instruments Data Aquisition 6229 card connected to the USB of my laptop, which was quite easy to select the parameters. I suppose any hardware you connect to the USB port, Simulink will recognize if Mathworks developed already the communication software, that means for Saitek devices in your case.
Here is some info that you may find useful:
www.mathkb.com/Uwe/Forum.aspx/matlab/260...-joystick-and-pedals