View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
change system DSN to a difference MS Access Database

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 1 Download (last 30 days) File Size: 4.26 KB File ID: #39054 Version: 1.0

change system DSN to a difference MS Access Database


Dan (view profile)


matlab script to change which ms access database (.mdb) is set as the Data Source Name (DSN)

| Watch this File

File Information

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

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us