logintimeout using Database toolbox in R2019a

4 次查看(过去 30 天)
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?

回答(1 个)

Gaurav Garg
Gaurav Garg 2019-8-2
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.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by