Asynchronous Input from PS/2 keyboard
Mostrar comentarios más antiguos
Hi, I have a question on asynchronous input from keyboard (not instrument).
I am trying to write a chess program using the parallel computing toolbox with nVidia GPU.
In MATLAB, I can write a code like
move = input('Input your move:', 's');
However, during waiting opponent's move, MATLAB can't calculate anything until opponent's move is specified. I want to simulate possible moves while waiting until an opponent's move.
http://www.mathworks.com/help/techdoc/matlab_external/f62852.html This is related article from MathWorks, but it is for instruments. Is there any possible way that I can calculate possible moves in background while waiting input?
Thank you for your help.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Desktop en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!