title: How to terminate a running process in matlab?
body: <p>I have a pretty simple question: how can I terminate a running script in matlab using code, similar to using <kbd>CTRL + C</kbd>? </p>
  
  <p>I want the program to stop running if a user enters incorrect digits.</p>