title: MATLAB fastinsert error
body: <p>I have a simple table in SqlServer database, <code>simSQLTable</code>. The column headings are:</p>
  
  <pre><code>index, del_date, name
  </code></pre>
  
  <p>I have a table in MATLAB <code>mytbl</code>, with one row:</p>
  
  <pre><code>num   deldate  myname
  ---   -------  ------
  1     '07-02-2015 00:00:00.0'  'JenZ'
  
  mycolnames = {'index', 'del_date', 'name'};
  </code></pre>
  
  <p>I use <code>fastinsert</code> like this:</p>
  
  <pre><code>fastinsert(conn, 'simSQLTable', mycolnames, mytbl);
  </code></pre>
  
  <p>but I get this error:</p>
  
  <pre><code>Error using database/fastinsert (line 90)
  Variable fields and insert fields do not match.
  </code></pre>
  
  <p>How to resolve this?</p>