title: The Matlab equivalent of Python's "None"
body: <p>Is there a keyword in Matlab that is roughly equivalent to <code>None</code> in python?</p>
  
  <p>I am trying to use it to mark an optional argument to a function. I am translating the following Python code</p>
  
  <pre><code>def f(x,y=None):
      if y == None:
          return g(x)
      else:
          return h(x,y)
  </code></pre>
  
  <p>into Matlab </p>
  
  <pre><code>function rtrn = f(x,y)
      if y == []:
          rtrn = g(x);
      else
          rtrn = h(x,y);
      end;
  end
  </code></pre>
  
  <p>As you can see currently I am using <code>[]</code> as <code>None</code>. Is there a better way to do this?</p>