STKOrbit:

Path: Common/Interface

% Prints orbit data to STK-formatted file.
--------------------------------------------------------------------------
   Form:
   [err, message] = STKOrbit( fileName, ver, epoch, nPoints, time,
                              position, velocity, type )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   fileName           Filename for output. Will be overwritten 
                        if it already exists.
   ver                STK version number (string!)
   epoch              Beginning date and time: [Y M D H M S]
   nPoints            Number of orbit data points
   time               Time in seconds for each data point
   position           Position data in km (if type = ECF
                        or ECI) or in [degrees,degrees,km]
                        (if type = LLR)
   velocity           Velocity data in km/sec (if type = ECF
                        or ECI) or [degrees,degrees,km]/sec
                        (if type = LLR)
   type               'ECI','ECF',or 'LLR'

   -------
   Outputs
   -------
   err                err ~= 0 means an error occurred
   message            Error message

--------------------------------------------------------------------------

Back to the Common Module page