Matlab function compiled for Java that uses parcluster
6 次查看(过去 30 天)
显示 更早的评论
I'm trying to deploy a basic function that makes use of parcluster/jobs to java(jar). When I run the function in Java, I get this error on the matlab line where I create a parcluster instance:
java.lang.IllegalStateException: An application can only use one MCR component that uses Parallel Computing Toolbox functionality.
Matlab line: myCluster = parcluster();
I've also tried a variety of ways to create a parcluster instance, but to no avail.
This is the only instance in the java code where I call a matlab function. Any ideas?
回答(2 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Java Package Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!