Connecting Matlab to Redshift Databases

6 次查看(过去 30 天)
Hello,
I have previously used a set of libraries I downloaded from the Mathworks website in order to connect to MySQL databases.
Does a similar utility exist for connecting Matlab to AWS Redshift databases?
thanks.

回答(1 个)

Piyush Kumar
Piyush Kumar 2024-11-28
Hi,
You can use the Database Toolbox in MATLAB. As mentioned in the documentation - "Database Toolbox connects to any relational ODBC-compliant or JDBC-compliant database using ANSI SQL. To connect to Database Toolbox, you need the database-specific ODBC or JDBC driver installed on your computer."
First, download the JDBC driver for the database from this link, add it to the classpath, and then connect to the database in MATLAB using the database function.

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by