Compiling Database toolbox commands into matlab executable

I have an application which connects to mySQL database thru matlab database toolbox. I can successfully import and export information from database tables.
Now, i need to deploy my application onto a machine where there is no matlab installation.
My question is does MCR suuports database toolbox..??? Can i deploy my application with database toolbox without much hassle...???
ANy help is very much appreciated.
Thank you very much.

1 件のコメント

Daniel Shub
Daniel Shub 2012 年 3 月 1 日
This would be a great question for technical support.

サインインしてコメントする。

 採用された回答

the cyclist
the cyclist 2012 年 3 月 1 日

1 投票

This page http://www.mathworks.com/products/compiler/compiler_support.html states that all command-line functionality of the Database Toolbox can be compiled, but that querybuilder and the toolbox GUIs cannot.

1 件のコメント

Titus Edelhofer
Titus Edelhofer 2012 年 3 月 1 日
Exactly. One thing that you might keep in mind: if you use a jdbc driver remember to add it to your compiled application as you did within MATLAB.

サインインしてコメントする。

その他の回答 (2 件)

Siamak Mohebbi
Siamak Mohebbi 2019 年 8 月 9 日

0 投票

Matlab's MEX compiler/wrapper allows for the resident compiler (not mcc) to compiler into a Matlab standalone database related access routine(s) (C, C++) , like ODBC. Assuming that the one can resolve the type case of different variable types, it is very well possible to create a standalone Matlab routine bypassing the Matlab compiler deficiency of not supporting Matlab Database toolbox calls in their stand alone library.
Note: The resident compiler (ie. MS-C++ 5.0, 6.0, Borland Builder 5.0, 6.0, etc.) must be compatible with the version of the Matlab's MEX.
linda willis
linda willis 2020 年 8 月 15 日

0 投票

Say I have included the jdbc file in my app files. Will this app work well in a PC without MySQL.

カテゴリ

質問済み:

2012 年 3 月 1 日

回答済み:

2020 年 8 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by