poolStartup.m is throwing an error
2 次查看(过去 30 天)
显示 更早的评论
Hello, I am trying to set up a parfor loop that will connect to the database and pull data. At this point I need to load the driver in every iteration of the parfor loop. I tried adding this piece of code to the poolStartup.m file but the pool creation keels over. How can I load the driver to the workers when they initiate?
javaclasspath(which('org.postgresql.Driver'));
Any thoughts appreciated.
4 个评论
Friedrich
2013-8-9
sounds like the worker crash (SegV). Is a crash log created in tempdir? (trype tempdir in MATLAB to get the path to your temporary directory)
回答(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!