Export Data Programmatically

Export data from MATLAB® workspace into relational database using command line

Database Toolbox™ enables you to analyze data and export the results. To export data from the MATLAB workspace, use these functions to insert or update data in your database.

Functions

expand all

commitMake database changes permanent
rollbackUndo database changes
sqlwriteInsert MATLAB data into database table
updateReplace data in database table with MATLAB data
insertAdd MATLAB data to SQLite database table

Topics

Insert or Update Data in Database

Insert Data into Database Table

Perform calculations on data and insert the results into a database using the sqlwrite function.

Replace Existing Data in Database

Update records in a database.

Data Type Support

Find supported data types for data import and export.

MATLAB Interface to SQLite

Working with MATLAB Interface to SQLite

Analyze data without access to a database or driver by using the MATLAB interface to SQLite.