Typically, one would go to start->control panel->administrative tools->data sources (odbc)-->system dsn (tab)->configure-> and select, to choose a database. This script lets the user select the .mdb file they want to use as the DSN and then it updates the string in the registry file to the path and name of the chosen .mdb.
Code is in pushbutton1_Callback. I had to figure out how to do this and thought i'd share
인용 양식
Dan (2025). change system DSN to a difference MS Access Database (https://kr.mathworks.com/matlabcentral/fileexchange/39054-change-system-dsn-to-a-difference-ms-access-database), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Database Toolbox에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!MATLABsetAccessDB/
| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 |
