STKAtt:

Path: Common/Interface

% Prints attitude data to STK-formatted file
--------------------------------------------------------------------------
   Form:
   [err, message] = STKAtt(fileName,ver,epoch,nPoints,time,attitude,type,seq)
--------------------------------------------------------------------------

   ------
   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 attitude data points
   time               Time in seconds for each data point
   attitude           Attitude data describing the rotation from
                        ECI J2000 to body, see input 'type' for 
                        allowable types
   type               'quaternion','Euler','YPR','ECIVector',or
                        'ECFVector'
   seq                Rotation sequence for Euler or yaw-pitch-
                        roll angles, ex. [1 2 3]

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

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

Back to the Common Module page