logintimeout using Database toolbox in R2019a
显示 更早的评论
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
2019-8-2
0 个投票
Hi,
The support for logintimeout function has been removed since MATLAB R2018b. For a workaround, you can use argument ‘LoginTimeOut’ in 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.
类别
在 帮助中心 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!