Matlab function compiled for Java that uses parcluster

1 回表示 (過去 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?
  1 件のコメント
Raymond Norris
Raymond Norris 2023 年 9 月 27 日
I would suggest contacting MathWorks Technical Support (support@mathworks.com).

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeJava Package Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by