Azzera filtri
Azzera filtri

how to enable extension in sqlite?

4 visualizzazioni (ultimi 30 giorni)
Saeed Behzadi
Saeed Behzadi il 2 Set 2017
Risposto: Bob S il 5 Nov 2020
Hi everybody
In python there is a function to enable extension for sqlite as:
con.enable_load_extension(True)
In matlab, there is no such function in "sqlite" object, or at least I couldn’t find. how can we enable/disable extension for sqlite in matlab.
thanks in advance

Risposte (1)

Bob S
Bob S il 5 Nov 2020
Are you trying to use sqlite with the database toolbox? If not, you can access sqlite databases using python:
>> sql = py.importlib.import_module('sqlite3');
>> conn = sql.connect('databaseFileName');
>> con.load_extension('whatever your extension is')

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by