Info

此问题已关闭。 请重新打开它进行编辑或回答。

Is it possibile to use the MATLAB compiler to generate a stand-alone application for a visualization of values that are received from a database query?

1 次查看(过去 30 天)
Is there a possibility to use the MATLAB compiler to generate a stand-alone application for a visualization of values that are received from a database query?
I always get an error within the database query: invalid connection. Is it possible that the database drivers cannot be found?

回答(2 个)

Titus Edelhofer
Titus Edelhofer 2011-10-17
Hi Thomas,
you should be able to use the database toolbox with the compiler. Note though, that it might be necessary to check some things: do you use a jdbc driver that has been added to the classpath? Take a look by "edit classpath.txt". If yes, you need to copy the classpath.txt file to the folder, where your executable is. If this is not the problem, perhaps show us the call to database().
Titus
  2 个评论
Thomas Kiefer
Thomas Kiefer 2011-10-17
Hi Titus,
Thanks a lot for the hint, changing the classpath.txt of the MCR installing folder of the guest PC is sufficient. Or adding the corresponding file classpath.txt to the same folder as the .exe-file...
Best regards und Vielen Dank
Thomas
Titus Edelhofer
Titus Edelhofer 2011-10-17
Hi Thomas,
both methods are fine: the first is a PC wide setup, whereas the second is an application specific (which needs no change of the installation, can be an advantage in restrictive environment).
Gern geschehen ;-)
Titus

ajith
ajith 2012-11-21

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by