测试
http://blog.sina.com.cn/s/blog_629f9a8b0102w3j5.html
clc
kk = zeros(1,4);
for i = 0:3
for j = 0:7
if(mod(i, 2) ~= 0)
m = (i -1)/ 2;
else
m = i / 2;
end
if(mod(j, 2) ~= 0)
n = j-1;
else
n = j;
end
kk = [kk ; [ i j m n]];
end
end
kk = kk(2:end,:)
set str=1
:loop
@echo %str%
set /a str=str+1
adb shell input keyevent 27
@ping 127.0.0.1 -n 1 >nul
goto loop