MongoDB enables you to store, query, and retrieve unstructured and structured data. In contrast to relational databases, which store tables of data organized by rows, MongoDB stores data as collections of documents that provide a richer structure for managing data that does not fit well into a table format. This storage model is widely used for storing social, web, and sensor data.
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.
This interface is functional for R2017b to R2022a.
MATLAB Release Compatibility
Created with R2017b
Compatible with R2017b to R2022a
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!