Info

This question is closed. Reopen it to edit or answer.

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 view (last 30 days)
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?

Answers (2)

Titus Edelhofer
Titus Edelhofer on 17 Oct 2011
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 Comments
Thomas Kiefer
Thomas Kiefer on 17 Oct 2011
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 on 17 Oct 2011
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 on 21 Nov 2012

This question is closed.

Community Treasure Hunt

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

Start Hunting!