Connecting Matlab to Redshift Databases

6 views (last 30 days)
Jonathan
Jonathan on 29 Oct 2014
Answered: Piyush Kumar on 28 Nov 2024
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
Cameron Brown
Cameron Brown on 22 Feb 2017
I am also interested in finding an answer to this question.

Sign in to comment.

Answers (1)

Piyush Kumar
Piyush Kumar on 28 Nov 2024
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

Community Treasure Hunt

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

Start Hunting!