Matlab - Access database connection

conurl = ['jdbc:odbc:Driver={Microsoft Access Driver (*.accdb)}; DBQ=' dbpath]; this doesn't work with .accdb files it works only with .mdb
Is there a way to make .accdb work?

3 Comments

The documentation does have an example of using an .accdb data source from MATLAB: http://www.mathworks.com/help/toolbox/database/gs/braiey2-1.html#bq9n52f-1
So it looks like you might need to check your configuration again. Perhaps the setup description on that page could help?
Agreed, but I want to open a multitude of .mdb files from within a .m script without having to use the Windows ODBC GUI to create a datasource for each file.
Can't seem to get anything working on the new 64-Bit Matlab (R2011).
Hi, I am also looking for a solution to this problem. Has one been found yet?

Sign in to comment.

Answers (0)

Products

Asked:

on 9 Nov 2011

Community Treasure Hunt

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

Start Hunting!