<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Using SQLite in Matlab	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/using-sqlite-in-matlab/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/using-sqlite-in-matlab?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-sqlite-in-matlab</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Sun, 05 Feb 2023 09:43:33 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/using-sqlite-in-matlab#comment-519300</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 05 Feb 2023 09:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7255#comment-519300</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/using-sqlite-in-matlab#comment-519168&quot;&gt;Alexander Eder&lt;/a&gt;.

@Alexander - this is correct. Matlab stopped including sqlite4java in R2021b (it was still included in 21a). You can download the open-source sqlite4java project from https://code.google.com/archive/p/sqlite4java or https://bitbucket.org/almworks/sqlite4java/src 
Note that sqlite4java is not actively maintained: the last commit was in 2019, and the downloaded binaries use a rather outdated version of the sqlite database (3.8.7).

When using sqlite in Matlab I usually prefer using the mksqlite utility (http://mksqlite.sourceforge.net), which is actively maintained and works [extremely well] with the latest sqlite versions.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/using-sqlite-in-matlab#comment-519168">Alexander Eder</a>.</p>
<p>@Alexander &#8211; this is correct. Matlab stopped including sqlite4java in R2021b (it was still included in 21a). You can download the open-source sqlite4java project from <a href="https://code.google.com/archive/p/sqlite4java" rel="nofollow ugc">https://code.google.com/archive/p/sqlite4java</a> or <a href="https://bitbucket.org/almworks/sqlite4java/src" rel="nofollow ugc">https://bitbucket.org/almworks/sqlite4java/src</a><br />
Note that sqlite4java is not actively maintained: the last commit was in 2019, and the downloaded binaries use a rather outdated version of the sqlite database (3.8.7).</p>
<p>When using sqlite in Matlab I usually prefer using the mksqlite utility (<a href="http://mksqlite.sourceforge.net" rel="nofollow ugc">http://mksqlite.sourceforge.net</a>), which is actively maintained and works [extremely well] with the latest sqlite versions.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alexander Eder		</title>
		<link>https://undocumentedmatlab.com/articles/using-sqlite-in-matlab#comment-519168</link>

		<dc:creator><![CDATA[Alexander Eder]]></dc:creator>
		<pubDate>Mon, 30 Jan 2023 14:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7255#comment-519168</guid>

					<description><![CDATA[Unfortunately Matlab stopped shipping sqlite4java starting with R2021(b?)]]></description>
			<content:encoded><![CDATA[<p>Unfortunately Matlab stopped shipping sqlite4java starting with R2021(b?)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Philip Howard		</title>
		<link>https://undocumentedmatlab.com/articles/using-sqlite-in-matlab#comment-508157</link>

		<dc:creator><![CDATA[Philip Howard]]></dc:creator>
		<pubDate>Wed, 29 Jan 2020 14:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7255#comment-508157</guid>

					<description><![CDATA[Yair,

Thank you for your post. Is it possible to use Matlab functions inside the SQL query for method using sqlite-jdbc? I see here that you can create custom callback functions in Java: &lt;a href=&quot;https://stackoverflow.com/questions/3192443/writing-user-defined-sql-functions-for-sqlite-using-java-or-groovy&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://stackoverflow.com/questions/3192443/writing-user-defined-sql-functions-for-sqlite-using-java-or-groovy&lt;/a&gt;. And Matlab let&#039;s call it&#039;s functions from Java: &lt;a href=&quot;https://www.mathworks.com/help/matlab/matlab_external/execute-matlab-functions-from-java.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://www.mathworks.com/help/matlab/matlab_external/execute-matlab-functions-from-java.html&lt;/a&gt;. So my idea was to try and call a Matlab function inside the custom Java callback function. However, I&#039;m not sure how to interact with the JDBC via Matlab besides the standard SQL queries. Any advice would be appreciated!]]></description>
			<content:encoded><![CDATA[<p>Yair,</p>
<p>Thank you for your post. Is it possible to use Matlab functions inside the SQL query for method using sqlite-jdbc? I see here that you can create custom callback functions in Java: <a href="https://stackoverflow.com/questions/3192443/writing-user-defined-sql-functions-for-sqlite-using-java-or-groovy" target="_blank" rel="nofollow">https://stackoverflow.com/questions/3192443/writing-user-defined-sql-functions-for-sqlite-using-java-or-groovy</a>. And Matlab let&#8217;s call it&#8217;s functions from Java: <a href="https://www.mathworks.com/help/matlab/matlab_external/execute-matlab-functions-from-java.html" target="_blank" rel="nofollow">https://www.mathworks.com/help/matlab/matlab_external/execute-matlab-functions-from-java.html</a>. So my idea was to try and call a Matlab function inside the custom Java callback function. However, I&#8217;m not sure how to interact with the JDBC via Matlab besides the standard SQL queries. Any advice would be appreciated!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/using-sqlite-in-matlab#comment-508007</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 12 Dec 2019 08:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7255#comment-508007</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/using-sqlite-in-matlab#comment-508006&quot;&gt;Andrea Carignano&lt;/a&gt;.

Andrea - sqlite4java is an open-source project (&lt;a href=&quot;https://code.google.com/archive/p/sqlite4java&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://code.google.com/archive/p/sqlite4java&lt;/a&gt;). You can modify its code and/or submit an issue on that project&#039;s repo (&lt;a href=&quot;https://bitbucket.org/almworks/sqlite4java/issues&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://bitbucket.org/almworks/sqlite4java/issues&lt;/a&gt;).]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/using-sqlite-in-matlab#comment-508006">Andrea Carignano</a>.</p>
<p>Andrea &#8211; sqlite4java is an open-source project (<a href="https://code.google.com/archive/p/sqlite4java" target="_blank" rel="nofollow">https://code.google.com/archive/p/sqlite4java</a>). You can modify its code and/or submit an issue on that project&#8217;s repo (<a href="https://bitbucket.org/almworks/sqlite4java/issues" target="_blank" rel="nofollow">https://bitbucket.org/almworks/sqlite4java/issues</a>).</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andrea Carignano		</title>
		<link>https://undocumentedmatlab.com/articles/using-sqlite-in-matlab#comment-508006</link>

		<dc:creator><![CDATA[Andrea Carignano]]></dc:creator>
		<pubDate>Thu, 12 Dec 2019 08:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=7255#comment-508006</guid>

					<description><![CDATA[Thank you very much!
I am using the first method of this article: sqlite4java. 
I have just a little problem. After every operation on database, I get some red messages in the command line like this:



dic 12, 2019 8:56:09 AM com.almworks.sqlite4java.Internal log

INFORMAZIONI: [sqlite] DB[2]: opened



how can I turn off these messages?]]></description>
			<content:encoded><![CDATA[<p>Thank you very much!<br />
I am using the first method of this article: sqlite4java.<br />
I have just a little problem. After every operation on database, I get some red messages in the command line like this:</p>
<p>dic 12, 2019 8:56:09 AM com.almworks.sqlite4java.Internal log</p>
<p>INFORMAZIONI: [sqlite] DB[2]: opened</p>
<p>how can I turn off these messages?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
