Main Content

Database Toolbox Interface for MongoDB

Explore and manage collections of documents in MongoDB® using Database Toolbox™ interface for MongoDB

Connect to MongoDB using the Database Toolbox interface for MongoDB. Access documents and import data stored in documents into the MATLAB® workspace for analysis. Run MongoDB queries against a collection of documents in MongoDB. Export MATLAB tables, structures, and objects into MongoDB.

To use this interface, you must first install it.


expand all

mongoMongoDB connection
isopenDetermine if MongoDB connection is open
closeClose MongoDB connection
countCount total number of documents in MongoDB collection
distinctRetrieve distinct values for field in MongoDB collection
findRetrieve documents in MongoDB collection
createCollectionCreate MongoDB collection
dropCollectionDrop MongoDB collection
insertInsert one or multiple documents into MongoDB collection
removeRemove one or multiple documents from MongoDB collection
updateUpdate one or multiple documents in MongoDB collection



Database Toolbox Interface for MongoDB Error Messages

Address MongoDB and Database Toolbox interface for MongoDB error messages.