I have managed to narrow it down to the exec() function. It appears that the query is posting to the server, but MATLAB is getting hung up in the exec or cursor function.
MATLAB Database fetch stalls
3 views (last 30 days)
Show older comments
I am using a compiled MATLAB function that utilizes the Database Toolbox. Occasionally, a fetch stalls out such that there is no error, and the database shows that the connection is sleeping (i.e. has not received the query). There are other connections to the database that could be altering the table of the query, but I would imagine that would throw an error. Is there a known issue or fix related to this?
The program/exe is built using MATLAB R2013b, Database Toolbox 5.0, and MATLAB Compiler 5.0.
2 Comments
the cyclist
on 30 Nov 2015
I would be sure to also contact MathWorks tech support for this. I have noticed that database questions here often don't get a lot of attention, and they are often pretty tricky to resolve.
Answers (0)
See Also
Categories
Find more on Application Deployment in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!