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 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