tall array with sqlite3

1 回表示 (過去 30 日間)
Guilherme Salome
Guilherme Salome 2017 年 8 月 22 日
編集済み: José-Luis 2017 年 8 月 22 日
I have a sqlite3 database (.db) stored in my hard drive, and I would like to use the tall array functionality with it. The problem is that I cannot connect to it using the databaseDatastore function. Running:
dbpath = fullfile(pwd,'options.db');
conn = sqlite(dbpath,'readonly');
dbds = databaseDatastore(conn,'SELECT * FROM DATA');
I get an error saying that the value of 'conn' is invalid, and that I should be using 'database.jdbc.connection'.
Question: I have a sqlite3 database and want to use tall arrays with it. How do I do it?
Thanks for helping! :D

採用された回答

José-Luis
José-Luis 2017 年 8 月 22 日
Save yourself a headache and use sqlite() instead.
  2 件のコメント
Guilherme Salome
Guilherme Salome 2017 年 8 月 22 日
Hey Jose, that is what I tried using, but it is not working with the databaseDatastore function. All I want is to have
tt = tall(dbds);
So that I can deal with a big amount of data. Any suggestions?
José-Luis
José-Luis 2017 年 8 月 22 日
編集済み: José-Luis 2017 年 8 月 22 日

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by