Anybody have a script that creates table from sqlite table?

3 ビュー (過去 30 日間)
Brian
Brian 2020 年 7 月 1 日
コメント済み: Brian 2020 年 7 月 1 日
It would be great to be able to create a MATLAB table from a sqlite table, including column names, etc. Similar to how MATLAB imports csv files. I have the database toolkit, and can get the table data, but it doesn't have column names. Would like to be able to get the column name automatically.
Thanks.

回答 (1 件)

Gurpreet Singh
Gurpreet Singh 2020 年 7 月 1 日
  1 件のコメント
Brian
Brian 2020 年 7 月 1 日
Not really, I know how to make an unnamed table using "cell2table(fetch(conn,'SELECT * my_table))" but it would be better if could have MATLAB automatically name all the tables based on the sqllite table info.

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by