Main Content

MATLAB Interface to SQLite

Interact with an SQLite database using the MATLAB® interface to SQLite

Without installing a database, configuring a driver, or creating a data source, connect to an SQLite database, create database tables, and load data into the tables. Import data into MATLAB from the SQLite database. Export data from MATLAB into the SQLite database. Then, create a standalone SQLite database application and deploy it.


sqliteSQLite connection


expand all

closeClose SQLite connection
isopenDetermine if SQLite connection is open
fetchImport data into MATLAB workspace using SQLite connection
sqlreadImport data into MATLAB from SQLite database table
databaseImportOptionsDefine import options for database data
sqlwriteInsert MATLAB data into SQLite database table
commitMake changes to SQLite database file permanent
executeExecute SQL statement using SQLite database connection
rollbackUndo changes to SQLite database file
sqlupdateUpdate rows in SQLite database table


MATLAB Interface to SQLite Workflow

Import Data into MATLAB

Export Data from MATLAB

Execute Database Operations

Deploy Standalone Database Application