logintimeout using Database toolbox in R2019a

4 Ansichten (letzte 30 Tage)
Alankar Sharma
Alankar Sharma am 17 Jul. 2019
Beantwortet: Gaurav Garg am 2 Aug. 2019
Hi,
I used to have a MATLAB script to connect to a SQL server that used the database toolbox's connection string and had a logintimeout specified. Starting R2019a, it seems like the logintimeout specification causes the script to fail everytime. Commenting out logintimeout works but I want to have the feature included in the script. Any insights? Is the logintimeout specification discontinued in this version of MATLAB and Database toolbox?

Antworten (1)

Gaurav Garg
Gaurav Garg am 2 Aug. 2019
Hi,
The support for logintimeout function has been removed since MATLAB R2018b. For a workaround, you can use argument LoginTimeOutin the database function.
You can also go through 'Functionality being removed or changed’ in R2018a here for any function removed/changed in the further releases.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by