Matlab function compiled for Java that uses parcluster
Ältere Kommentare anzeigen
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?
1 Kommentar
eduardo
am 27 Sep. 2023
any update?
Antworten (2)
Boxin Yang
am 12 Nov. 2018
0 Stimmen
I encountered the same problem. Has the problem been solved?
eduardo
am 27 Sep. 2023
0 Stimmen
have same issue... any update?
1 Kommentar
Raymond Norris
am 27 Sep. 2023
Kategorien
Mehr zu Java Package Integration finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!