Database Toolbox | ![]() ![]() |
Setting Up a Remote Data Source for ODBC Drivers
Follow this procedure to set up a data source that resides on a remote system to which your PC has network access. This procedure uses the Microsoft ODBC driver Version 4.00.42 and the U.S. English version of Microsoft Access 97 for Windows NT installed on a networked server. If you have a different configuration, you may have to modify the instructions.
If you have Microsoft Access installed and want to use the examples as written, set up these two data sources:
dbtoolboxdemo
data source - Uses the Microsoft Access tutorial
database provided with the Database Toolbox in $matlabroot\toolbox\database\dbdemos
SampleDB
data source - Uses the Microsoft Access sample database called Northwind
The ODBC Setup dialog box appears for the driver you selected. Note that the dialog box for your driver might be different from the one shown in the following figure.
For one of the example data sources, type dbtoolboxdemo
as the data source name. For the other example data source, type SampleDB
as the data source name.
Note that for some databases, the ODBC Setup dialog box requires you to provide additional information.
For the dbtoolboxdemo
data source, select the $matlabroot\toolbox\database\dbdemos
directory.
For the SampleDB
data source, select the msoffice\...\Samples
directory.
In the example shown, the database is in SERVERS\APPLICATIONS\Applications
.
For the dbtoolboxdemo
data source, select tutorial.mdb
. For the SampleDB
data source, select Northwind.mdb
.
![]() | Setting Up a Local Data Source for ODBC Drivers | Setting Up a Data Source for JDBC Drivers | ![]() |