Pranjaliv / matlabcontrol

Automatically exported from code.google.com/p/matlabcontrol
0 stars 0 forks source link

Matlab Error #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What version of matlabcontrol are you using?
(Release versions: 4.0.0, 3.1.0, 3.0.1, 3.0.0, or 2.0.0)
4.0.0

What version of MATLAB are you using?
R2011b

What operating system are you using?
Windows XP

Are you using matlabcontrol from inside MATLAB or outside MATLAB?
outside Matlab

What steps will reproduce the problem?

downloaded JAR, added to build path then ran the following code:
MatlabProxyFactory factory = new MatlabProxyFactory();
try{
    MatlabProxy proxy = factory.getProxy();
    proxy.setVariable("a", 5);
    proxy.disconnect();
    }
    catch(Exception e){
        e.printStackTrace();
    }

What did you expect to happen? What happened instead?
I expected Matlab to set a variable "a" to 5.
Instead I get the following error in Matlab: 
"Error using javaaddpath (line 46)
Too many input arguments."

Please provide any additional information below.

Original issue reported on code.google.com by MRiegelh...@gmail.com on 13 Aug 2012 at 6:59

GoogleCodeExporter commented 8 years ago
I cannot repro this issue.

Original comment by nonot...@gmail.com on 18 Feb 2013 at 8:19