Database Toolbox

 

Database Toolbox

Interact with relational and NoSQL databases

Database Toolbox provides functions and an app for interacting with relational and NoSQL databases. The toolbox supports any ODBC-compliant or JDBC-compliant relational database and provides NoSQL support for Apache Cassandra®, MongoDB®, and Neo4j®.

Native interfaces for MySQL®, PostgreSQL®, and SQLite provide functionality that streamlines interaction with your database. The interfaces ship with third-party drivers that connect to your database in deployed and cloud environments without additional setup or installation.

Database Toolbox provides direct read and write workflows for novice users and fine-grained control for advanced users who are familiar with SQL. With the Database Explorer app, you can explore relational data interactively and generate MATLAB code to automate or operationalize database workflows. For large data workflows, you can run query filters directly on your SQL queries. The toolbox has an Object Relational Mapper (ORM), which provides a layer between MATLAB and SQL queries, so your MATLAB objects can interact with your database tables.

Database Explorer App

Use the Database Explorer app to visualize data from your relational database without requiring SQL knowledge. Generate MATLAB code or SQL scripts to operationalize your database workflows.

Interface for ODBC or JDBC driver configuration shown with MATLAB as well as on-premises and cloud-based SQL database icons.

ODBC and JDBC Database Support

Connect to your ODBC- or JDBC-compliant relational database on premises or in the cloud. Interact with your tables programmatically or by executing SQL queries.

Icons for pre-packaged drivers and MATLAB beside an icon representing MySQL, PostgreSQL, and SQLite with a bidirectional arrow between them.

Native Interfaces for MySQL, PostgreSQL, and SQLite

Connect to your MySQL, PostgreSQL, or SQLite database without additional driver setup. Interact with your database via database-specific functions that provide greater performance than an ODBC or JDBC interface in MATLAB.

Data going into a database with the sqlwrite function, and data going into MATLAB with the sqlread function.

Interact with Databases Without Writing SQL

Import, export, and perform inner and outer joins on your relational database tables without writing SQL queries. Customize your import options to reduce post-processing steps.

A diagram showing a dataset with 1 TB of data being filtered into a MATLAB file with 1 KB of data via RowFilter.

Selective Import for Database Table Rows

Add custom filters to your import methods and apply them directly to your database queries to reduce the size of data imported and improve query performance.

A diagram showing connections from MATLAB to Neo4j, MongoDB, and Cassandra through pre-packaged drivers.

NoSQL Support for MongoDB, Cassandra, and Neo4j

Connect to your MongoDB, Cassandra, and Neo4j NoSQL database without additional driver setup. Interact with your data programmatically or with a database-specific query language.

A diagram showing an ORM layer connecting a MATLAB class with a database.

Object Relational Mapping (ORM)

Map your database tables directly to MATLAB classes to implement consistent, reusable database workflows without writing SQL queries.

“MATLAB makes it easy to access financial data from internal databases and external data service providers without building extra software. With MATLAB we can process that data using risk management techniques developed by our own experts and scale the system as we add more funds.”

Get a Free Trial

30 days of exploration at your fingertips.


Ready to Buy?

Get pricing information and explore related products.

Are You a Student?

Your school may already provide access to MATLAB, Simulink, and add-on products through a campus-wide license.