Systematic Error launching the Database Toolbox

4 Ansichten (letzte 30 Tage)
Vincent Marchal
Vincent Marchal am 25 Jun. 2015
Beantwortet: Vincent Marchal am 25 Jun. 2015
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?

Antworten (1)

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

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by