Database Connectivity

How I can access the Oracle and MS Access in matlab code, without using the ODBC connection?

回答 (1 件)

Titus Edelhofer
Titus Edelhofer 2011 年 8 月 2 日

0 投票

The database toolbox also allows for using the JDBC connection, i.e., using a jdbc driver...
Titus

2 件のコメント

Mohsin
Mohsin 2011 年 8 月 2 日
Hi,
My Question was, if we don't use the ODBC or JDBC at all, just like in ADO, we can connect to ORACLE or SQL Server, without using these ODBC informations.
The purpose of asking this question is if you distribute the executable to a computer, which doesn't have these ODBC settings, that there our m file or executable will not work.
Titus Edelhofer
Titus Edelhofer 2011 年 8 月 2 日
Hi,
yes, there are other ways to connect. Nice thing about jdbc is, that you don't have to "prepare" the other computer, you can easily add the jdbc driver to your executable (lower part of "deploytool") and just run the program. No need to add some odbc setting.
Titus

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

質問済み:

2011 年 8 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by