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