Main Content

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

commit Make database changes permanent
rollback Undo database changes
sqlwrite InsertMATLABdata into database table
update Replace data in database table withMATLABdata
insert AddMATLABdata 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 thesqlwritefunction.

Replace Existing Data in Database

Update records in a database.

Data Type Support

Find supported data types for data import and export.

MATLABInterface to SQLite

Working with MATLAB Interface to SQLite

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