Connecting Matlab to Redshift Databases

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 Comment

I am also interested in finding an answer to this question.

Sign in to comment.

Answers (1)

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.

Tags

Asked:

on 29 Oct 2014

Answered:

on 28 Nov 2024

Community Treasure Hunt

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

Start Hunting!