How to access MongoDB from Matlab?
<p>I'm trying to access mongoDB from Matlab through Java driver, but it seems Matlab could not find MongoClient class.</p>

<p>Here are some error messages from Matlab</p>

<blockquote>
  <blockquote>
    <p>javaaddpath('mongodb-driver-3.2.2.jar');</p>
    
    <p>import com.mongodb.*;</p>
    
    <p>mc = MongoClient(server, port);</p>
  </blockquote>
</blockquote>

<p>Undefined function or variable 'MongoClient'.</p>

<blockquote>
  <blockquote>
    <p>import com.mongodb.MongoClient;</p>
  </blockquote>
</blockquote>

<p>Error using import Import argument 'com.mongodb.MongoClient' cannot be found or cannot be imported.</p>