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 个评论

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.
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