Database Toolbox™ enables you to connect MATLAB® to ODBC-compliant and JDBC-compliant relational databases using ODBC and JDBC drivers, respectively, or native interfaces. The Database Explorer app provides a visual way to establish a connection to a relational database, explore data, and import data into MATLAB. Or, you can use the command line to perform these tasks.
For high-level information about using Database Toolbox, see Access Relational Database Data in MATLAB.