User`s guide

Microsoft SQL Server ODBC for Windows
2-23
Microsoft SQL Server ODBC for Windows
This tutorial shows how to set up a data source and connect to your Microsoft SQL Server
database. This tutorial uses the Microsoft SQL Server Native Client 11.0 Driver Version
2011.110.3000.00 to connect to the Microsoft SQL Server 2012 Express database.
In this section...
“Step 1. Check the 32-bit and 64-bit compatibility.” on page 2-23
“Step 2. Verify the driver installation.” on page 2-24
“Step 3. Set up the data source using Database Explorer.” on page 2-24
“Step 4. Connect using Database Explorer or the command line.” on page 2-29
Step 1. Check the 32-bit and 64-bit compatibility.
This diagram shows the operating system, database, ODBC driver, and MATLAB
software that are installed on your machine. You can install the database locally or
remotely. These graphics indicate that the bitness (32-bit or 64-bit) of MATLAB, ODBC
driver, and the database must match. Otherwise, MATLAB displays an error. For details
about the error, see “Database Connection Error Messages” on page 3-9.