title: Importing a Database to MATLAB error
body: <p>I am trying to import tables to my MATLAB workspace and it keeps throwing me an error, <code>"Undefined function or method 'fetch' for input arguments of type 'struct'.</code>"</p>
  
  <p>This is my code that i am trying to execute: </p>
  
  <pre><code>dyn_conformer = exec(conn, 'SELECT * FROM dyn_conformer'); 
  rs =fetch(dyn_conformer);
  </code></pre>
  
  <p>When i opened the object in the workspace, it stated that it was <code>"Invalid or closed connection"</code>.
  However, previously i manage to import other tables and it seemed to execute perfectly (they are stored as a cursor object). All of a sudden, its throwing an error for other tables that i am trying to import.</p>
  
  <p>I am connected to the datatabase, <code>conn = database('postgres','username','password','org.postgresql.Driver','jdbc:postgresql://localhost:5433/postgres');</code>.</p>