[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Usage of java package
From: |
Jose |
Subject: |
Usage of java package |
Date: |
Tue, 05 Jun 2012 15:25:41 +0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 |
Hello.
I am trying to use the java package, but I have not found clear enough
documentation about how to use it to pass primitive data types, arrays
and matrixes from java to octave and viceversa.
After some search in Internet I tried to find JHandles, as it is
supposed to be using the java package, but I could not find it. Can
somebody point me to some examples?
A more concrete example of what I need.
In java I have (simplified)
public class MyClass
{
public long numA;
public byte[] arrayB;
public int numB;
public MyClass(long nA, byte[] aB, int nB)
{
this.numA = nA;
this.arrayB = aB;
this.numB = nB;
}
//Other methods
}
How do I call the constructor of MyClass from octave?
How do I retrieve the values of numA, arrayB and numB in octave?
BR
Jose
- Usage of java package,
Jose <=