Systematic Error launching the Database Toolbox

조회 수: 4 (최근 30일)
Vincent Marchal
Vincent Marchal 2015년 6월 25일
답변: Vincent Marchal 2015년 6월 25일
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