Systematic Error launching the Database Toolbox

5 次查看(过去 30 天)
I am using a timer to update a SQLite database every 5 minutes (using the database toolbox) with new data. This timer is supposed to run continuously every night. As I came back to my computer today, Matlab had stopped (out of memory exception). I now cannot connect to any database, or open the database explorer, or edit the database toolbox preferences as I get this error systematically:
Error using javaObject
No class com.mathworks.toolbox.database.databasePrefs can be located on the Java class path
Error in setdbprefs (line 58)
DatabasePrefs = javaObject('com.mathworks.toolbox.database.databasePrefs');
Error in database>errorhandling (line 399)
switch lower((setdbprefs('ErrorHandling')))
Error in database (line 118)
errorhandling(connection.Message);
Ì have tried to reinstall Matlab, with no avail. What else can I do?

回答(1 个)

Vincent Marchal
Vincent Marchal 2015-6-25
I have solved the problem by reinstalling the JDBC SQLite driver and changing the javaclasspath.txt file accordingly.

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by