help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help with Octave/Java


From: Walter Grossman
Subject: Need help with Octave/Java
Date: Tue, 17 Jul 2018 12:31:23 -0400

Though "Constants" is an interface and can't be instantiated, the commands below work in Matlab.  I understand that Octave doesn't have an import command as Matlab does so how do I mimic this behavior?  Do I need to create a java object in java that implements the interface?  It would be better if I could do something in octave.

Thanks.

Matlab code:
clear all
>> import org.orekit.utils.*
>> c=Constants.SPEED_OF_LIGHT
c =
   299792458
>>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]