Can't connect obdc from command line

조회 수: 1 (최근 30일)
David Auckland
David Auckland 2021년 4월 8일
답변: Kojiro Saito 2021년 4월 9일
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.

답변 (1개)

Kojiro Saito
Kojiro Saito 2021년 4월 9일
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.

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by