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?
댓글 수: 0
답변 (1개)
Gaurav Garg
2019년 8월 2일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!