필터 지우기
필터 지우기

Problem in connecting to PostgreSQL Database (database.​ODBCConnec​tion)

조회 수: 5 (최근 30일)
Amit
Amit 2015년 5월 21일
답변: Cindy Solomon 2015년 5월 22일
Hi while trying to connect to ODBC connection (without Database toolbox), I am getting this error: " Undefined variable "database" or class "database.ODBCConnection" "
I am using MATLAB Version: 8.2.0.701 (R2013b).
I am using this syntax:
conn = database.ODBCConnection('PostgreSQL','username','pwd');
Can you please suggest if there is any other way to connect to Postgresql database. (without Database toolbox).
Many Thanks in advance.

답변 (1개)

Cindy Solomon
Cindy Solomon 2015년 5월 22일
Hi Amit,
As mentioned in that link, you need to have the Database Toolbox to connect to the postgresql database. Hope this helps!

카테고리

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