Matlab function compiled for Java that uses parcluster

조회 수: 4 (최근 30일)
AG
AG 2018년 5월 13일
댓글: Raymond Norris 2023년 9월 27일
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개)

Boxin Yang
Boxin Yang 2018년 11월 12일
I encountered the same problem. Has the problem been solved?

eduardo
eduardo 2023년 9월 27일
have same issue... any update?

카테고리

Help CenterFile Exchange에서 Java Package Integration에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by