title: Does MATLAB lets you assign default value for input arguments for a function like python does?
body: <p>I am working on a project and have many functions to create and they do need lots of debugging so instead of just hitting the run button i have to go to command window and give a function call.</p>
  
  <p>does MATLAB support assignment of default values to input arguments like python does?</p>
  
  <p>In python </p>
  
  <pre><code>def some_fcn(arg1 = a, arg2 = b)
  % THE CODE
  </code></pre>
  
  <p>if you now call it without passing the arguments it doesn't give errors but if you try the same in MATLAB it gives an error. </p>