Error in MATLAB when connectiing with java
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!