Matlab fetch function freezes Matlab, even with limited rows in the fetch request.
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi,
I'm using Matlab 2017A and the code keeps getting stuck on fetching data from a SQL 'view'. It is possible to connect to the database and to retrieve data from other Tables, but not from the table in the 'Views' folder in Microsoft SQL Server.
I don't get an error message, the code just keeps loading forever and makes Matlab freeze.
Can you help me pinpointing the reason for this behaviour?
Thanks,
Iris
댓글 수: 0
답변 (1개)
Nikhil
2023년 2월 23일
Hi Iris,
Have you tried any other functions than fetch ? If not, have a look at the following functions which server the same purpose.
executeSQLScript : https://www.mathworks.com/help/database/ug/database.odbc.connection.executesqlscript.html
Hope this helps.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Database Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!