Configure ODBC Data Sources without dexplore

2 ビュー (過去 30 日間)
BSantos
BSantos 2013 年 9 月 25 日
コメント済み: Marc Youcef 2018 年 7 月 6 日
Hello!!
So, here's my project:
I would like to update a Ms Access Database, via GUI using Database Toolbox, whenever the user wants. so far, I was able to do so, following the tutorial suggested by Matlab.
But, before we start, we have to configure OBDC Data sources using the dexplore function or Apps > Database Explorer.
My question is: Is there any way of doing the same without dexplore? Using commands, for example or code.
I ask this, because, I don't want my User to be troubled with this set up, every time he starts the program. Perhaps, just giving File directory/path... So far, I couldn't find any solution.
Any suggestions/ideas??
Thanks in advance!!!

回答 (1 件)

Mihir Daptardar
Mihir Daptardar 2014 年 1 月 17 日
Assuming that you are on a WINDOWS system, there is a way to configure ODBC Data sources from outside of MATLAB as well. Please note that you would need admin rights on the computer that you are using to configure.
Click on Start Menu and type ODBC Data Sources (For Windows Vista and Later) or you can navigate to C:\Windows\SysWOW64\odbcad32.exe
  1 件のコメント
Marc Youcef
Marc Youcef 2018 年 7 月 6 日
Hi, I do not know if this answers his question as he is looking for a programmatic way to do this configuration. I am looking actually for similar thing without having to go through any interface (windows or MATLAB). Thanks.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDatabase Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by