Systematic Error launching the Database Toolbox

5 ビュー (過去 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 Center および File ExchangeDatabase Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by