matlab等待按键/鼠标函数
waitforbuttonpress 函数k = waitforbuttonpress; %返回值为0代表点击了鼠标按键,返回值为1代表按键被按下example:%% Plotfor plot_iter = 1:trialsfigure;subplot(2,1,1);plot(1:(L+1),x(1:2:end,plot_iter+1),‘b’,1:(L+1),x_real(1:2:...