Database Connectivity

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

Answers (1)

Titus Edelhofer
Titus Edelhofer on 2 Aug 2011

0 votes

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

2 Comments

Mohsin
Mohsin on 2 Aug 2011
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

Sign in to comment.

Asked:

on 2 Aug 2011

Community Treasure Hunt

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

Start Hunting!