Contenido principal

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.

Objects

sqliteSQLite connection

Functions

expand all

closeClose database connection
isopenDetermine if database connection is open
sqlreadImport data into MATLAB from SQLite database table (Since R2022a)
fetchImport data from execution of SQL statement
databaseImportOptionsDefine import options for database data
sqlwriteInsert MATLAB data into database table
commitMake changes to database permanent
executeExecute SQL statement on database
rollbackRevert changes made to database
sqlupdateUpdate rows in database table (Since R2023a)

Topics

MATLAB Interface to SQLite Workflow

Import Data into MATLAB

Export Data from MATLAB

Execute Database Operations

Deploy Standalone Database Application