To use the Database Toolbox™ interface for MongoDB®, you must first install it. Ensure that the interface supports your MongoDB version.
To install the Database Toolbox interface for MongoDB, follow these steps:
In the Environment section of the MATLAB® toolstrip, select Add-Ons > Get Add-Ons.
In the Add-On Explorer, search for the Database Toolbox interface for MongoDB.
Install the Database Toolbox interface for MongoDB.
The installer downloads and installs the MongoDB Java® driver. Then, the installer adds the driver to the static Java class path as part of the installation.
For details about installing add-ons, see Get and Manage Add-Ons (MATLAB). For other information, see Add-Ons (MATLAB).
The Database Toolbox interface for MongoDB supports these versions of MongoDB:
MongoDB 2.6
MongoDB 3.0
MongoDB 3.2
MongoDB 3.4
MongoDB 3.6
MongoDB 4.0