Use of .jar file in matlab

New in Orekit.
I would like to use the classes in orekit-10.1.jar file in matlab R2017b.
I have added the file to the dynamic java class path with the command
javaaddpath C:…myPath…\Documents\MATLAB\orekit-10.1.jar
and the file appears when I write javaclass path.
However, I have tried to import the classes and it doesn’t work:

import org.orekit.propagation.analytical.tle.TLE
Error using import
Import argument ‘org.orekit.propagation.analytical.tle.TLE’ cannot be found or cannot be imported.

The same if I use methodsview:

methodsview org.orekit.propagation.analytical.tle.TLE
Error using methodsview (line 99)
No class org.orekit.propagation.analytical.tle.TLE can be located or no methods for class

Any clue?

Thank you in advance,

Hi @Ruben

Welcome to the Orekit forum!

Did you look at our tutorial for integrating Orekit in an other language? The tutorial is available here and I think it can help you a lot because it was done for Matlab.

Here you have other topics in the forum talking about integrating Orekit into Matlab:


Hi @bcazabonne,

Thank you for your quick answer. I have tried the tutorial that you indicate. It’s there where I have detected the initial problem.

Then, I’ve taken a look at the First step with matlab, where I’ve seen a post that you did in 2018 that provides information about the java version. I have continued the questions in that post line.

Best regards,