database Function error:One or more output arguments not assigned during call to "getValidConnection".
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
During a call to database(...) I am getting the following error
One or more output arguments not assigned during call to "getValidConnection".
The "getValidConnection" function is called as part of the database function not a user defined function.
What is interesting is that I had this working for months. Haven't changed the code pertaining to this step at all. I've tried connecting to the database through the windows cmd and it connects fine. I've also tried connecting to a different database but to no avail.
Anybody have any insight or fought this error themselves?
Matlab version: 2012b database: MySQL Operating system: Windows 7
0 Commenti
Risposte (2)
Roja
il 25 Giu 2014
Verify if it is JDBC or ODBC connection.Check if the path of the respective .jar driver is present in "matlab\toolbox\classpath.txt".If it is not present add the whole path of the .jar driver manually into "matlab\toolbox\classpath.txt" and restart MATLAB.
0 Commenti
Vedere anche
Categorie
Scopri di più su Database Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!