Stop process and close plot with keyboard
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
This is part of my code.
plot(x, sensiv_graf2, 'r');
title ('Sensitivity average')
xlabel(Wavelength (nm)')
load value123.txt
xm= value123(:,1);
ym= value123(:,2);
I need that, after the plot, pressing one button on keyboard stop the process, close plot and then continue loading the texts. I've tried with 'stop', 'close' but it doesn't work at all.
How can I do it? thanks in advance!
4 个评论
回答(1 个)
per isakson
2012-8-13
Maybe including the function, keyboard, in your code would help you achieve the required functionality.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!