Database Toolbox

Importing Data into MATLAB

Database Toolbox supports standard SQL commands, such as those for further defining data to import and for retrieving data from specific objects. After you import the data into MATLAB®, you can view attributes of the imported data, as well as the data itself, and use MATLAB commands to process the data. Finally, you can save these commands in a MATLAB program file for automating this process later.

Using Scripts and Stored Procedures

With Database Toolbox, you can execute scripts and stored procedures for:

  • Directly executing SQL scripts within MATLAB and storing the results for further processing
  • Calling stored procedures within databases and passing parameters between MATLAB and the database
  • Retrieving data from a cursor object that contains multiple result sets

Working with Multiple Databases

Database Toolbox enables you to connect to multiple data sources within a single session and browse databases associated with each source. Within MATLAB, you can construct queries to separately retrieve selected data from each database for combined processing.

Importing Large Data Sets

Database Toolbox enables you to extract data from large data sets in a segmented and sequential manner. You can retrieve all data at once or a subset of the data.

Native ODBC Driver

Database Toolbox enables you to connect to ODBC-compliant databases using a native ODBC interface. You can run queries and stored procedures, import data from the database, and export data all at once or in batches.

Database Toolbox commands showing how to import a column of data from a table.
Database Toolbox commands showing how to import a column of data from a table.
Next: Exporting Data to a Database

Try Database Toolbox

Get trial software

Modellare sistemi di rischio di credito con MATLAB

View webinar