[Mathlib-develop] Call JMatLab from Java
Status: Beta
Brought to you by:
st_mueller
|
From: Joel S. <jsc...@na...> - 2007-11-28 00:16:30
|
I don't see a jar for JMatLab... which seems odd.
=20
Anyhow, I created one from the classes directory and tried using the
Interpreter.executeExpression
=20
It doesn't seem to return anything. Thoughts? Example below:
=20
public class TestJMathLib {
=20
public static void main(String[] args) {
=20
MathLib.Interpreter.Interpreter ml =3D new
MathLib.Interpreter.Interpreter(false);
=20
System.out.println(" Calling...");
=20
System.out.println( ml.executeExpression( "x=3D1+2"));
=20
System.out.println(" - done -");
}
=20
}
=20
Output:
=20
Properties error
Properties local error
Calling...
=20
- done -
=20
_________________________
Joel Schuster
The NAVSYS Corporation
14960 Woodcarver Road
Colorado Springs, CO 80921
719-481-4877 ext. 138
=20
|