Why MATLAB database connection is very slow?

Hi,
I'm using MATLAB 2018b and trying to connect to an Oracle Database via Database Toolbox (ODBC) as follows:
conn = database('MyDatabase', 'MyUsername', 'MyPassword')
and it takes 217 seconds!
With other tools and SW, I connect to the database within seconds. Why MATLAB connection is painfully slow and how can I solve this issue?

1 Comment

I am still having this issue, is there any solution to this problem?

Sign in to comment.

Answers (0)

Products

Release

R2018b

Asked:

on 30 Apr 2020

Commented:

on 8 Jun 2020

Community Treasure Hunt

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

Start Hunting!