Can't connect obdc from command line

I am trying to connect to mdb data base just using script commands and get the following error. When I connect using the database explorer toolbox, it has no problem.
>> configureODBCDataSource
>> conn=odbc('AZ_2000_6000.MDB','','')
Error using odbc (line 54)
Unable to access data source name. Use
configureODBCDataSource to create an ODBC data source.

Antworten (1)

Kojiro Saito
Kojiro Saito am 9 Apr. 2021

0 Stimmen

Does AZ_2000_6000.MDB exactly match the data source name in Database Explorer?
You can check it in Database Explorer, Connect -> ODBC Data Sources.

Produkte

Version

R2021a

Gefragt:

am 8 Apr. 2021

Beantwortet:

am 9 Apr. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by