inputemu function works continuously
26 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to use inputemu to simulate a <return/enter> key. However, when I use this function it doesnt stop, it presses <return/enter> continuously.
inputemu('key_normal','\ENTER');
How do I use inputemu to only press it once?
0 Kommentare
Antworten (1)
Jan
am 26 Jan. 2021
I guess, that you mean: https://www.mathworks.com/matlabcentral/fileexchange/28603-inputemu-keyboard-mouse-emulator-v1-0-1
Perhaps this is sufficient already:;
robot = java.awt.Robot;
robot.keyPress(java.awt.event.KeyEvent.VK_ENTER);
robot.keyRelease(java.awt.event.KeyEvent.VK_ENTER);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Point Cloud Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!