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 Kommentar

unalf
unalf am 8 Jun. 2020
I am still having this issue, is there any solution to this problem?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Version

R2018b

Gefragt:

am 30 Apr. 2020

Kommentiert:

am 8 Jun. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by