Why do I get the error message "No constructor com.mathwo​rks.toolbo​x.database​.close....​." when using the Database Toolbox 2.2.1 (R13)?

조회 수: 3 (최근 30일)
Why do I get the following error message when closing my database connection when using the Database Toolbox 2.2.1(R13)?
No constructor com.mathworks.toolbox.database.closeTheDatabaseConnection with matching signature found.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2011년 3월 21일
This error occurs if you have an invalid database connection handle. Therefore, please check that the database connection handle or object that you have is valid. You can check if it is valid by seeing if the message field of the object is populated. The message field will contain an error message that was echoed from the database you were trying connect to.
If you would rather have an error message thrown immediately if the database connection failed, then you can use the following command:
setdbprefs('errorhandling','report')

추가 답변 (0개)

카테고리

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