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