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 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 21 Mar 2011
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')

Più risposte (0)

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by