Hi,
When I use the waitforbuttonpress function even if the figure seems to be on the foreground and active if I press keys nothing happens, I have to press alt+tab twice to have it active again and be able to press keys. I use Matlab R2015a on windows8.
kp=waitforbuttonpress;
keypress=get(gcf,'currentcharacter');
Any idea ?
Best Answer