Using the MongoDB C++ interface, you can connect to MongoDB, access documents, and import the stored data into the MATLAB® workspace for analysis. You can also run MongoDB queries against a document collection in MongoDB. To add data to document collections, you can export MATLAB tables, structures, and objects into MongoDB.
Database Toolbox™ includes the MongoDB C driver in the installation.
|MongoDB C++ interface connection|
Import all documents from a MongoDB collection into the MATLAB workspace and perform a simple data analysis of numerical fields.
Filter data using a MongoDB query and import the data into the MATLAB workspace.
Import a large set of flight data from a collection into the MATLAB workspace. To avoid out-of-memory issues, import large data in batches.
Create a MongoDB collection and insert structure data from the MATLAB workspace into the collection.
Serialize and deserialize objects with MongoDB and MATLAB.