Concurrent runs of compiled standalone executable fail with "Could not access the MCR component cache"
Show older comments
I am running a compiled ("deployed") MATLAB application from within a third party optimization program. The optimizer starts up to 10 multiple simultaneous instances of the deployed application. At random times one of these instances fails with a "Could not access the MCR component cache" error. Sometimes that happens after the app has executed 30 times others after it has run for hundreds of times. The deployed app takes only a few seconds to run and the optimizer at times tries to start multiple instances at the exact same time. Can multiple instances of deployed apps run on the same system without conflicts? What can I do to resolve the issue I am seeing? Currently runs are done on Win7, 64 bit with MATLAB R2013b. Would the situation be different with another version of MATLAB or another OS?
Accepted Answer
More Answers (0)
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!