Asynchronous Input from PS/2 keyboard
이전 댓글 표시
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Desktop에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!