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

RE: [Orekit Users] orekit-7.0 called from matlab



Hi Ryan,

For ISSTracker, loading Orekit 7.0 instead of 6.1 works well for me. The errors you mentioned don't occur. I'm using R2013a.

Question : when you replaced the jar file, did you also change the ISSTracker.m script (line 142) ? You should tell it to load the new jar file.

Note : You can also load Orekit into Matlab at startup. This means you won't have to tell Matlab to load the jar manually (javaaddpath). This is done by :
- adding the jar file to the jarext folder 'Matlab root'/java/jarext
- adding the jar path to the classpath located at 'Matlab root'/toolbox/local/classpath.txt

Cheers,

Rami



From: chris.lebris@gmail.com
Date: Wed, 28 Jan 2015 12:24:23 +0100
To: orekit-users@orekit.org
Subject: Re: [Orekit Users] orekit-7.0 called from matlab

Hello,

I don't have R2014b but calling Orekit 7.0 from Matlab 2013a works well for me.

Christophe


2015-01-28 9:59 GMT+01:00 Houdroge Rami (THALES SERVICES) <Rami.Houdroge@cnes.fr>:
Hi Ryan,

I will look into upgrading ISSTracker to orekit 7.0 and will get back to you.

Cheers,

Rami Houdroge


-----Original Message-----
From: orekit-users-request@orekit.org [mailto:orekit-users-request@orekit.org] On Behalf Of ryan_shepperd@yahoo.com
Sent: mercredi 28 janvier 2015 05:00
To: orekit-users@orekit.org
Subject: [Orekit Users] orekit-7.0 called from matlab

I was trying to explore possible uses of orekit from within matlab but ran into problems trying to use the advice at https://www.orekit.org/forge/projects/orekit/wiki/Integration_in_Matlab with orekit-7.0.jar and Matlab R2014b.  I get errors like

Undefined variable "DataProvidersManager" or class "DataProvidersManager.getInstance".

I am able to load and use orekit-6.0.jar using or following the example of "http://www.mathworks.com/matlabcentral/fileexchange/42733-isstracker-v1-0-0",
which uses orekit-6.0.   Replacing orekit-6.0 with orekit-7.0 in isstracker
resulted in the same error I have been encountering, so there seems to be something different that one must do to successfully load orekit-7.0 classes into matlab.

I am happy I at least gained access to orekit-6.0 from within matlab.  I can at least take a look at the possibilities and maybe start to learn why my
orekit-7.0 efforts failed.  However, I am very curious if anyone out there has been able to use orekit-7.0 from within a recent version of matlab.