Version 3.0.0 (4.34 MB) by Rik
Matlab and Octave interface to the SQLite engine.


Updated 22 Jan 2022

From GitHub

View License on GitHub

View sqlite3 on File Exchange

This function is a wrapper for a command line interface and a mex interface. The mex files were compiled for most operating systems for Matlab. For Octave an internal function will download the source files and compile it, since the resulting mex files are less portable than Matlab mex files.

Since this is a wrapper for different implementations, it is possible that more complex commands have inconsistent effects depending on whether the mex implementation was used or the CLI.

The CLI is removed from this version, but will likely be back in a future update. When it is back, the CLI may have inconsistent effects across different operating systems. The test suite will only test basic functionality for the CLI.

The basis for the interface is the SQLite3 project itself. The sqlite3.c and sqlite3.h files can be downloaded from an archived zip file here. The originals for sqlite3_interface.c, structlist.c, and structlist.h can be found on GitHub. These 3 files were edited to make them conform to the stricter standards of older compilers and to remove a message: `mexPrintf("binding params %d of %zu\n", i, mxGetM(params));' Additionally a converter file was written to deal with UTF-16 char encoding.

Licence: CC by-nc-sa 4.0

Cite As

Rik (2023). sqlite3 (https://github.com/thrynae/sqlite3/releases/tag/v3.0.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with R13SP1 and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

See release notes for this release on GitHub: https://github.com/thrynae/sqlite3/releases/tag/v3.0.0


See release notes for this release on GitHub: https://github.com/thrynae/sqlite3/releases/tag/2.0


To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.