标签: matlab interruption
如何打破Matlab脚本执行? Ctrl-C无效,可能是因为在waitforbuttonpress内使用了catch:
Ctrl-C
waitforbuttonpress
catch
while 1 try waitforbuttonpress catch err end end