database Function error:One or more output arguments not assigned during call to "getValidConnection".

조회 수: 2 (최근 30일)
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

답변 (2개)

Roja
Roja 2014년 6월 25일
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
Rufina Savio 2018년 6월 12일
Try restarting

카테고리

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