|
From: | Jaya |
Subject: | Re: Java and Octave |
Date: | Fri, 15 Mar 2013 16:00:22 +0530 |
Jaya wrote
I'm not sure what you want as you didn't describe in sufficient detail what> The requirement is to use the java interface, connect to octave, so that
> octave processes the images.
> The programs are to be distributed and run on systems without
> octave installations.
>
> Kindly advice on how to invoke octave function from java.
you have tried yourself, so below is a bit of a guess.
If you need to invoke Java methods from Octave, you must add the directories
where these methods are (in .java files), and/or add the Java class libs
containing these methods (in .jar files), to the javaclasspath.
Before you can do that you'd need to load the Java package (" pkg load
Java").
Type (from Octave) "help javaclasspath" and "help javaaddpath" for more
info.
But if you want to invoke Octave from Java, you need another strategy.
Philip
[Prev in Thread] | Current Thread | [Next in Thread] |