フィルターのクリア

Error in MATLAB when connectiing with java

1 回表示 (過去 30 日間)
Lochana Prasadi
Lochana Prasadi 2016 年 8 月 3 日
編集済み: Lochana Prasadi 2016 年 8 月 3 日
I’m using Matlab 7.12.0 (R2011a) and Netbeans IDE 8.0.1. I use matlabcontrol API to connect Matlab and java application. When I try this example :
MatlabProxyFactoryOptions options = new MatlabProxyFactoryOptions.Builder().setUsePreviouslyControlledSession(true).build();
MatlabProxyFactory factory = new MatlabProxyFactory(options);
MatlabProxy proxy = factory.getProxy();
proxy.eval("disp('hello world')");
proxy.disconnect();
the error message Undefined variable “matlabcontrol” or class “matlabcontrol.MatlabClassLoaderHelper.configureClassLoading” comes in matlab.
How should I solve this problem? Please guide me.
Thanks in advance.

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Java from MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by