Main Content

Configure Environment

驱动程序和数据源配置uration

Configure a data source depending on the database environment. Decide between using an ODBC and JDBC driver. Then, find the configuration instructions based on your operating system and database. You can configure data sources using the appropriate dialog box in the Database Explorer app. Configure an ODBC data source using the ODBC Data Source Administrator dialog box. Configure a JDBC data source using the JDBC Data Source Configuration dialog box or the command line.

For high-level information about using Database Toolbox™, seeAccess Relational Database Data in MATLAB. To get started by exploring data visually, use the Database Explorer app.

Apps

Database Explorer Configure, explore, and import database data

Objects

SQLConnectionOptions Define JDBC database connection options

Functions

expand all

configureODBCDataSource Open ODBC Data Source Administrator dialog box
databaseConnectionOptions Create database connection options
reset Reset JDBC connection options to defaults
rmoptions Remove JDBC connection options
setoptions Set JDBC connection options
testConnection Test JDBC database connection
saveAsDataSource Save JDBC data source
deleteDataSource Delete data source
listDataSources List all available data sources

Topics

Database Environment

WindowsODBC

WindowsJDBC

Mac JDBC

LinuxODBC

LinuxJDBC

Other Databases

Related Information