poolStartup.m is throwing an error
2 views (last 30 days)
Show older comments
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 Comments
Friedrich
on 9 Aug 2013
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)
Answers (0)
See Also
Categories
Find more on Startup and Shutdown 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!