Updated 22 Jan 2022
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
Rik (2023). sqlite3 (https://github.com/thrynae/sqlite3/releases/tag/v3.0.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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