Unable to use planetEphemeris from the aerospace toolbox

8 vues (au cours des 30 derniers jours)
KP
KP le 1 Avr 2025
Commenté : Danielle le 23 Oct 2025 à 19:15
I have installed the entire aerospace toolbox but for some reason my code cannot retrieve planetEphemeris from the toolbox. Any help on this is appreciated. thank you
  3 commentaires
Walter Roberson
Walter Roberson le 1 Avr 2025
Check what you get for
license('test', 'Aerospace_Toolbox')
ans = 1
A result of 1 indicates that the Aerospace Toolbox is properly licensed; a result of 0 indicates that no license for it could be found.
Danielle
Danielle le 23 Oct 2025 à 19:15
Hi,
I am having the same issue. I have checked the license and its good. I have uninstalled and reinstalled the Ephemeris add-on package twice now. And the planetEphemeris function runs right after install, however when I close and open a new Matlab session I get the following error using your exact command.
Error using planetEphemeris
Ephemeris data is not available on the MATLAB path. You might need to download it using the aeroDataPackage function.
And the 'aeroDataPackage' command just opens the Add-On Explorer, which shows I already have the package installed.
I have tried searching for the ephmeris mat files on my hard drive and they are no where to be found. It is almost as if installing the add-on does not save these files after matlab is shut down.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by