Errors in PKEPLER,SGP4: How to resolve the following errors relating to the mu program file, a MATLAB system file

4 views (last 30 days)
The rvcoe function which is linked to the pkepler file, contains a declaration muin =mu, and I suspect this mu has been confused with the mu system file. How to resolve this error?
  3 Comments
Aswath Surya
Aswath Surya on 14 Aug 2017
Yes, the code intended to use pkepler from the the same URL. pkepler is a function from the astrodynamics software package (from celestrak, by D Vallado)

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 30 Dec 2018
rv2coe invokes the script constastro.m . As of 2007, constastro defines
mu = 398600.4418;
If you are using an older version that does not assign a value to mu, then you could end up accidentally invoking the obsolete function mu from the Robust Control toolbox.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!