database Function error:One or more output arguments not assigned during call to "getValidConnection".
Ältere Kommentare anzeigen
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
Antworten (2)
Roja
am 25 Jun. 2014
0 Stimmen
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.
Rufina Savio
am 12 Jun. 2018
0 Stimmen
Try restarting
Kategorien
Mehr zu Database Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!