title: Functions from MATLAB to XCode
body: <p>Essentially what I'm trying to do, is turn the following function:</p>
  
  <pre><code>function [template, mask] = createiristemplate(eyeimage_filename)
  </code></pre>
  
  <p>into a form useable by Xcode.  I've spent several hours poring over the internet, and have yet to find a clean way to make it work.  Any help would be greatly appreciated.  </p>