how to enable extension in sqlite?
显示 更早的评论
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
回答(1 个)
Bob S
2020-11-5
0 个投票
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')
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Interface to SQLite 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!